Hi, new to JBoss from Weblogic, and getting an error I've never seen before. I am trying to pass a ResultSet from one private method, in which a Connection is made, and the ResultSet is populated, to another method in which the contents of the ResultSet are to be extracted and used.
This was possible in Weblogic, but here in JBoss, I keep getting the following error:
[CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@17eb767
java.lang.Exception: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:285)
I'm sure that this is a stupid error, but one in which I honestly have
never had to deal with before, and can't seem to find an answer for how
to do this type of variable passing.
Any thoughts/ideas on how to pass a ResultSet between two methods
correctly, or even if it is possible in JBoss would be greatly appreciated.
sorry guys -- I realized that I never actually added the finally block to my first method.
call me embarrassed.
It's working now.