-->
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: Can DBCP be used in Hibernate 3.3?
PostPosted: Sat Feb 07, 2009 4:13 pm 
Beginner
Beginner

Joined: Sat Feb 07, 2009 4:08 pm
Posts: 22
Location: New York City
I am a newbie to Hibernate and very confused about how to Not use the default Hibernate connection pool. Hibernate assures you that this pool should not be used for Production. Great..I get it..its dinky. However, if I am using Spring2.6 and Hibernate3.3 on simple old Tomcat 6 what is the best PRODUCTION QUALITY way to implement my Hibernate connection pool? I thought Apache DBCP would suffice but it looks like Hibernate 3.3 no longer supports DBCP. Is this true? There is no documentation about how to do this, at least I couldnt find any, and the only posts I found seem to be using "org.hibernate.connection.DBCPConnectionProvider" which does not exist in Hibernate 3.3 apparently. What should I be doing?

Any help would be much appreciated!

Thanks
John


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 3:56 am 
Newbie

Joined: Thu Jan 15, 2009 3:04 pm
Posts: 1
you can use third party tools like c3p0 using hibernate for connection pooling.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 3:13 pm 
Beginner
Beginner

Joined: Sat Feb 07, 2009 4:08 pm
Posts: 22
Location: New York City
Thanks, but c3p0 is the connection pool mechanism that Hibernate uses by default and in fact the very mechanism that I am trying to avoid using because it has been described as 'definitely not for production'!


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.