I have a Spring/JPA application with Hibernate as the JPA provider. I\'ve configured a C3P0 data source in Spring via:
The hibernate-c3p0.jar provides the class org.hibernate.connection.C3P0ConnectionProvider
, a C3P0-based implementation of the Hibernate ConnectionProvider
contract. You need this artifact when you want to use C3P0 as Hibernate's standalone connection pool (that you configure through the hibernate.cfg.xml
file). Since you're using Spring, you don't need it.