aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection Pooling" Watch "Connection Pooling" New topic
Author

Connection Pooling

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
In case of Connection pooling, how many connections are available in pool. Is there any way to set this size?


I am slow but sure
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Yes, all connection pools allow to set a minimum and maximum pool size (as well as some other options). Check the documentation of whichever one you're using (Apache DBCP has recently come back to life).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection Pooling