diff --git a/pom.xml b/pom.xml index 17609f4..53a26dd 100644 --- a/pom.xml +++ b/pom.xml @@ -73,11 +73,6 @@ 5.1.1.Final compile - - org.hibernate - hibernate-c3p0 - 5.1.1.Final - org.hsqldb hsqldb diff --git a/src/main/java/musicplayer/db/HibernateDatabase.java b/src/main/java/musicplayer/db/HibernateDatabase.java index 46213fe..e92d10e 100644 --- a/src/main/java/musicplayer/db/HibernateDatabase.java +++ b/src/main/java/musicplayer/db/HibernateDatabase.java @@ -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");