I got to the bottom of this and C3P0 is working,
but now it is complaining that hibernate.c3p0.xx and c3p0.xx are both set.
I've only set c3p0.xx in my hibernate.cfg.xml file
How could this be seeing both?
Quote:
08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.idleTestPeriod' and c3p0-style property 'c3p0.idleTestPeriod' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.idleTestPeriod' will be used and c3p0-style property 'c3p0.idleTestPeriod' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.max_size' and c3p0-style property 'c3p0.max_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.max_size' will be used and c3p0-style property 'c3p0.max_size' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.min_size' and c3p0-style property 'c3p0.min_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.min_size' will be used and c3p0-style property 'c3p0.min_size' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.timeout' and c3p0-style property 'c3p0.timeout' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.timeout' will be used and c3p0-style property 'c3p0.timeout' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.preferredTestQuery' and c3p0-style property 'c3p0.preferredTestQuery' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.preferredTestQuery' will be used and c3p0-style property 'c3p0.preferredTestQuery' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.acquire_increment' and c3p0-style property 'c3p0.acquire_increment' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.acquire_increment' will be used and c3p0-style property 'c3p0.acquire_increment' will be ignored!
STDOUT Sep 12 12:08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.max_statements' and c3p0-style property 'c3p0.max_statements' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.max_statements' will be used and c3p0-style property 'c3p0.max_statements' will be ignored!
STDOUT Sep 12 12: