1. c3p0 not closing connections on SesisonFactory close() forum.hibernate.orgI'm running a servlet on Tomcat 4.1.24 for Hibernate 2.0.3. I use C3P0 in my hibernate.cfg.xml files. When I try to close the factory using my SessionFactory's close() call, the C3P0 pool is being orphaned, not shut down. This is eating up my memory and leaving database connections open. Does anyone have any suggestions? My hibernate.cfg.xml file is this: |