This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes Hibernate Connection Pooling. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Connection Pooling." Watch "Hibernate Connection Pooling." New topic

Hibernate Connection Pooling.

aishwarya lakshmi

Joined: Nov 18, 2008
Posts: 20
In general we are configuring connection pooling in application server and again we are configuring in hibernate(in hiberate project).. What is the use of this... Both thing are Mandatory one.. please clarifiy me..

Many thanks
Joe Ess

Joined: Oct 29, 2001
Posts: 8876

Hibernate's own connection pooling algorithm is, however, quite rudimentary. It is intended to help you get started and is not intended for use in a production system, or even for performance testing. You should use a third party pool for best performance and stability. Just replace the hibernate.connection.pool_size property with connection pool specific settings. This will turn off Hibernate's internal pool.

Hibernate JDBC Properties

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ritesh Pareek
Ranch Hand

Joined: Nov 04, 2008
Posts: 50
use c3p0
subject: Hibernate Connection Pooling.