• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate connection pool  RSS feed

 
mi smo
Greenhorn
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!