Hello,
Anyone found an answer to this problem? I am also experiencing the same issure.
hibernate.properties:
Code:
hibernate.connection.provider_class=net.sf.hibernate.connection.C3P0ConnectionProvider
hibernate.c3p0.initialPoolSize=0
hibernate.c3p0.minPoolSize=0
hibernate.c3p0.maxPoolSize=25
hibernate.c3p0.timeout=180
hibernate.c3p0.idleConnectionTestPeriod=10
hibernate.c3p0.max_statements=50
hibernate.c3p0.validate=false
Start-Up:
Code:
11:31:50,291 INFO Environment:496 - loaded properties from resource hibernate.properties: {hibernate.c3p0.idleConnectionTestPeriod=10, hibernate.c3p0.timeout=180, hibernate.jdbc.fetch_size=25, hibernate.cglib.use_reflection_optimizer=true, hibernate.c3p0.max_statements=50, hibernate.cache.use_query_cache=true, hibernate.c3p0.validate=false, hibernate.jdbc.use_streams_for_binary=true, hibernate.c3p0.initialPoolSize=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.jdbc.batch_size=20, hibernate.c3p0.maxPoolSize=25, hibernate.c3p0.minPoolSize=0, hibernate.jdbc.use_scrollable_resultset=true, hibernate.connection.provider_class=net.sf.hibernate.connection.C3P0ConnectionProvider, hibernate.show_sql=true}
...still using the default:
Code:
11:31:51,332 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!)
11:31:51,342 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 20
And yes, the c3p0.jar file is in my classpath.
Thanks!