-->
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.  [ 3 posts ] 
Author Message
 Post subject: Non-connection pool maintaining connection
PostPosted: Mon Apr 28, 2008 10:45 am 
Newbie

Joined: Mon Apr 28, 2008 10:38 am
Posts: 3
Ok, I first must apologize for what seems like an easy question. I have scoured the documentation, but being incredibly unfamiliar with Hibernate, I've been unlucky.

Now then, I have a simple JMS Application that does lookups from 1 of 30 different databases using Hibernate. Currently we make the connections on the fly and don't want to implement connection pooling. Right now it creates a new connection about 10 times per call. I want to set it so that for each call to the MDB, Hibernate creates one connection and uses it until the request is finished.

Any pointers or hints to get me off in the right direction will be very much appreciated!

Thanks,
Paul


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 28, 2008 2:10 pm 
Newbie

Joined: Mon Apr 28, 2008 10:38 am
Posts: 3
I've been trying to play with the hibernate.connection.release_mode property, but it doesn't seem to hold my connections open.

Any info would help, thanks.


Top
 Profile  
 
 Post subject: Still having trouble
PostPosted: Tue Apr 29, 2008 9:09 am 
Newbie

Joined: Mon Apr 28, 2008 10:38 am
Posts: 3
Can anyone lend a hand? I'm still not figuring it out...


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

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.