pb00067 wrote:
Hi,
to get the problem
Quote:
WARN: HHH000022: c3p0 properties were encountered, but the org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider provider class was not found on the classpath; these properties are going to be ignored.
solved, you must add hibernate-c3p0-
<yourversion>.jar into your classpath.
You can find this jar in the distribution bundle under \lib\optional\c3p0\
Thanks Im using Maven, but the problem was that I was using standalone c3po dependency
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
instead of the c3po package as a hibernate module:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>4.0.1.Final</version>
</dependency>