aspose file tools*
The moose likes JDBC and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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
Marshal

Joined: Mar 22, 2005
Posts: 41904
    
  63
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).


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: Connection Pooling