Removed hibernate-c3p0.
This commit is contained in:
parent
075b2fea8f
commit
1902d11d78
5
pom.xml
5
pom.xml
@ -73,11 +73,6 @@
|
||||
<version>5.1.1.Final</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-c3p0</artifactId>
|
||||
<version>5.1.1.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
|
@ -42,11 +42,6 @@ public class HibernateDatabase implements IDatabase{
|
||||
properties.put("hibernate.connection.driver_class", "org.hsqldb.jdbc.JDBCDriver");
|
||||
properties.put("hibernate.enable_lazy_load_no_trans", "true");
|
||||
|
||||
properties.put("hibernate.c3p0.min_size", 5);
|
||||
properties.put("hibernate.c3p0.max_size", 200);
|
||||
properties.put("hibernate.c3p0.max_statements", 200);
|
||||
properties.put("hibernate.c3p0.timeout", 0);
|
||||
|
||||
if(testMode){
|
||||
properties.put("hibernate.connection.url", "jdbc:hsqldb:mem:.");
|
||||
properties.put("hibernate.hbm2ddl.auto", "create-drop");
|
||||
|
Loading…
Reference in New Issue
Block a user