<property name="hibernate.connection.password" value="${db.cspace.user.password}"/>
<property name="hibernate.connection.url" value="${db.jdbc.cspace.url.encoded}"/>
<!--property name="hibernate.hbm2ddl.auto" value="create-drop"/-->
+
+ <property name="hibernate.connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider"/>
+ <property name="hibernate.c3p0.max_size" value="8"/>
</properties>
</persistence-unit>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ </dependency>
<dependency>
<groupId>org.jvnet.hyperjaxb3</groupId>
<artifactId>hyperjaxb3-ejb-runtime</artifactId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.4.0.GA</version>
</dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ <version>3.6.10.Final</version>
+ </dependency>
<dependency>
<groupId>org.jvnet.hyperjaxb3</groupId>
<!-- for time type adapters -->