Hibernate connections are not closed even with C3P0 + explicit session.close()
问题 Hibernate connections to MySQL my db are not closing. After clicking 10 times in like 10 second, I get this connection statistics from MySQL Workbench (in my development machine. I'm the only user).MySQL Workbench Server Status I have those in place C3P0 and running (checked from log4j, no problem related to C3P0 and seems running) A ServletReqestListener which checks if there's an open session and closes it in requestDestroyed() method. Hibernate Session object is being kept in ThreadLocal,