-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Connection Pooling
PostPosted: Fri Mar 11, 2011 7:33 am 
Newbie

Joined: Fri Mar 11, 2011 7:02 am
Posts: 2
Hi ...

I am using hibernate with struts with MySQL Database in an application. i am having a problem of connection polling using with C3P0 Properties. Connection is break automatically in 8 hours , but i want it to make continue..
can you help me to resolve my problem.

Is c3P0 properties better for connection pooling in hibernate or context.xml file ????



thanks in advance


Top
 Profile  
 
 Post subject: Re: Hibernate Connection Pooling
PostPosted: Fri Mar 11, 2011 7:50 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
which version of Hibernate?
it should work the same way configured in both places. Enable logging and make sure you actually are using c3p0.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.