ignoring the persistence.properties

This commit is contained in:
eugenp 2015-03-04 13:16:03 +02:00
parent dace105b0e
commit 1ebefa3b9c
3 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class PersistenceJPAConfig {
final Properties additionalProperties() {
final Properties hibernateProperties = new Properties();
hibernateProperties.setProperty("hibernate.hbm2ddl.auto", env.getProperty("hibernate.hbm2ddl.auto"));
hibernateProperties.setProperty("hibernate.hbm2ddl.auto", env.getProperty("hibernate.hbm2ddl.auto", "create-drop"));
hibernateProperties.setProperty("hibernate.dialect", env.getProperty("hibernate.dialect"));
return hibernateProperties;
}

View File

@ -0,0 +1 @@
persistence.properties