Hello All:
I havent really been able to find an answer.
I setup connection pooling within my dataSource using class = "com.mchange.v2.c3p0.ComboPooledDataSource" and configure c3p0 within the dataSource.
And, I see c3p0 initializing in logs "INFO: Initializing c3p0 pool com.mchange.v2.c3p0.ComboPooledDataSource..." and what looks like an injection into hibernate "17:37:23.765 INFO o.s.o.h.HibernateTransactionManager:390 - Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource...".
But I did not set the hibernateProperties mappings for c3p0. Everywhere I see says that I must map my c3p0 through hibernateProperties or hibernate.properties file. So is my c3p0 connection pooling working like it shows? Is there a way to test this?
Maybe there is a log seting? I have logback.xml setting for com.mchange.v2.c3p0 = debug but I dont see anything about creating a connection, etc.
Please help, thanks.
Environment:
Hibernate 3.5
Spring 2.5
|