Estou com o c3p0 sim…
configuration.setProperty("hibernate.connection.provider_class",
"org.hibernate.connection.C3P0ConnectionProvider");
configuration.setProperty("hibernate.c3p0.timeout", "30");
configuration.setProperty("hibernate.c3p0.min_size", "5");
configuration.setProperty("hibernate.c3p0.max_size", "20");
configuration.setProperty("hibernate.c3p0.max_statements", "50");
o último log mudou denovo…
18:56:05,399 DEBUG TwoPhaseLoad:131 - resolving associations for [br.com.wsacervoweb.vo.Midia#3]
18:56:05,400 DEBUG TwoPhaseLoad:239 - done materializing entity [br.com.wsacervoweb.vo.Midia#3]
18:56:05,400 DEBUG StatefulPersistenceContext:892 - initializing non-lazy collections
18:56:05,400 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
18:56:05,400 DEBUG Loader:1946 - done entity load
Quantidade de sessions fechadas - 33--------------------------------------
18:56:05,407 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
Quantidade de sessions fechadas - 33--------------------------------------