• Post Reply Bookmark Topic Watch Topic
  • New Topic

Closing all the connections in com.mchange.v2.c3p0.ComboPooledDataSource pool?

 
S Branch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using com.mchange.v2.c3p0.ComboPooledDataSource and hibernate.

How would I close all the connections in the pool?

Would session.close() do the job in closing all the connections?

Thanks.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!