Hello,
I'm having trouble with Hibernate trying to close connections after they've already been wiped up by my appserver. I've looked at the source and I see that autoClose appears to be set TRUE for sessions.
In SessionImpl, then, we see in the disconnect() method a call to batcher.closeConnection(c) contingent upon autoClose being TRUE. I don't want autoClose to be turned on for CMT; I want the appserver to close connections for me.
Am I smoking it or is there a "right way" to tell Hibernate to leave these things alone? :)
Thanks,
Ben
|