-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: autoClose and CMT beans
PostPosted: Tue Jun 15, 2004 5:29 pm 
Newbie

Joined: Tue Mar 02, 2004 7:15 pm
Posts: 3
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.