Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Hibernate connection pool

Thread Tools

Hibernate connection pool

Posts: n/a
Using Hibernate 3 with Tomcat 5, I wonder if it is better to use
Tomcat connexion pool or c3p0 ??
Can someone tell me wich is the best (and why ?)


Reply With Quote
Posts: n/a
Use the Desing Pattern Singleton
this stop your problem w/ connexion pool

Reply With Quote
Posts: n/a

We are using Hibernate 3 with JTDS, and JTDS recommends either C3P0
or Jakarta DBCP for connection pool. We decided to go with the
DBCP because it's part of the Apache projects and we figured there will
be more
people working on it. No problem so far.

JDBC connection pool has been around for a while, I doubt if you will
run into any
problem with either one actually.

Good luck,


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
does python have a generic object pool like commons-pool in Java Rick Lawson Python 8 07-16-2009 11:25 PM
PIX 501 issue routing between VPN pool and local pool eostrike Cisco 3 10-24-2008 09:43 PM
Strange problem with Hibernate pool connection CarloC Java 1 10-21-2007 02:23 AM
Hibernate, connection pool and firewall question javaguy_in_wheaton Java 0 11-25-2004 02:01 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM