Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pooling

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case of Connection pooling, how many connections are available in pool. Is there any way to set this size?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic