Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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: 9052

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

[How To Ask Questions On JavaRanch]
Ritesh Pareek
Ranch Hand

Joined: Nov 04, 2008
Posts: 50
use c3p0
rocket mass heater kickstarter
subject: Hibernate Connection Pooling.