ignoring the persistence.properties
This commit is contained in:
parent
dace105b0e
commit
1ebefa3b9c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
persistence.properties
|
Loading…
Reference in New Issue