Author: jeff.yuchang
Date: 2010-05-31 03:27:51 -0400 (Mon, 31 May 2010)
New Revision: 683
Modified:
branches/ODE/ODE-1.x-jpa/dao-jpa-hibernate/src/main/java/org/apache/ode/dao/jpa/hibernate/BpelDAOConnectionFactoryImpl.java
Log:
* update it to "true" by default for unit testing.
Modified:
branches/ODE/ODE-1.x-jpa/dao-jpa-hibernate/src/main/java/org/apache/ode/dao/jpa/hibernate/BpelDAOConnectionFactoryImpl.java
===================================================================
---
branches/ODE/ODE-1.x-jpa/dao-jpa-hibernate/src/main/java/org/apache/ode/dao/jpa/hibernate/BpelDAOConnectionFactoryImpl.java 2010-05-31
06:39:26 UTC (rev 682)
+++
branches/ODE/ODE-1.x-jpa/dao-jpa-hibernate/src/main/java/org/apache/ode/dao/jpa/hibernate/BpelDAOConnectionFactoryImpl.java 2010-05-31
07:27:51 UTC (rev 683)
@@ -108,7 +108,7 @@
props.put(HibernateUtil.PROP_GUID, guid);
}
- if
(Boolean.valueOf(odeConfig.getProperty(OdeConfigProperties.PROP_DB_EMBEDDED_CREATE,
"false"))) {
+ if
(Boolean.valueOf(odeConfig.getProperty(OdeConfigProperties.PROP_DB_EMBEDDED_CREATE,
"true"))) {
props.put(Environment.HBM2DDL_AUTO, "create-drop");
__log.debug("create-drop DDL by Hibernate automatically");
}
Show replies by date