• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate connection pool

mi smo
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using tomcat - hibernate - mysql. configured c3p0 default values for connection pool settings. when opening single session using factory pool grows by specified increment (5). session is closed. another session is opened and 5 more connections are established. seems incorrect. this continues until connections are exhausted and no sessions are open.
Removed all session operations (create, find, save, etc) and still exhibits this behavior. Tried session.disconnect() & then .close().
Any suggestions? Thx.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!