[jbpm-commits] JBoss JBPM SVN: r2823 - in jbpm3/branches/jbpm-3.3.0.GA/modules/core: src/main/resources and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Nov 8 19:37:24 EST 2008


Author: alex.guizar at jboss.com
Date: 2008-11-08 19:37:24 -0500 (Sat, 08 Nov 2008)
New Revision: 2823

Modified:
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/pom.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.common.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.mysql.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.postgresql.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/test/java/org/jbpm/context/exe/CustomVariableStringIdDbTest.java
Log:
revived automatic schema creation, got two more tests running on sybase, verified against hsqldb and mysql as well

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/pom.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/pom.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -346,9 +346,7 @@
                 <exclude>org/jbpm/job/executor/JobExecutorDbTest</exclude>
                 <!-- [JBPM-1810] Fix clean, drop, create schema with JbpmSchema  -->
                 <exclude>org/jbpm/db/JbpmSchemaDbTest.java</exclude>
-                
-                <exclude>org/jbpm/context/exe/CustomVariableLongIdDbTest.java</exclude>
-                <exclude>org/jbpm/context/exe/CustomVariableStringIdDbTest.java</exclude>
+
                 <exclude>org/jbpm/db/DeleteProcessInstanceDbTest.java</exclude>
                 <exclude>org/jbpm/graph/exe/SubProcessPlusConcurrencyDbTest.java</exclude>
                 <exclude>org/jbpm/jbpm1072/JBPM1072Test.java</exclude>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.common.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.common.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.common.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -17,11 +17,15 @@
     <!-- # common settings                 # -->
     <!-- ################################### -->
 
+    <!-- Automatic schema creation (begin) -->
+    <property name="hibernate.hbm2ddl.auto">create</property>
+    <!-- Automatic schema creation (end) -->
+
     <!-- Simple memory-only cache -->
     <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
 
     <!-- logging properties --> 
-    <property name="hibernate.format_sql">false</property>
+    <property name="hibernate.format_sql">true</property>
     <property name="hibernate.use_sql_comments">true</property>
 
     <!-- ############################################ -->

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.hsqldb.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.hsqldb.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -8,8 +8,4 @@
     <property name="hibernate.connection.username">sa</property>
     <property name="hibernate.connection.password"></property>
     <!-- JDBC connection properties (end) -->
-    
-    <!-- Automatic schema creation (begin) -->
-    <property name="hibernate.hbm2ddl.auto">create</property>
-    <!-- Automatic schema creation (end) -->
-    
\ No newline at end of file
+

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.mysql.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -10,8 +10,3 @@
     <property name="hibernate.query.substitutions">true 1, false 0</property>
     <!-- JDBC connection properties (end) -->
 
-    <!-- Automatic schema creation (begin) -->
-    <property name="hibernate.hbm2ddl.auto">create</property>
-    <!-- Automatic schema creation (end) -->
-
-    
\ No newline at end of file

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.postgresql.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.postgresql.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.postgresql.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -8,8 +8,4 @@
     <property name="hibernate.connection.username">${jdbc.postgresql.username}</property>
     <property name="hibernate.connection.password">${jdbc.postgresql.password}</property>
     <!-- JDBC connection properties (end) -->
-    
-    <!-- Automatic schema creation (begin) -->
-    <property name="hibernate.hbm2ddl.auto">create</property>
-    <!-- Automatic schema creation (end) -->
-    
\ No newline at end of file
+

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-09 00:37:24 UTC (rev 2823)
@@ -18,9 +18,4 @@
     <property name="hibernate.connection.username">${jdbc.sybase.username}</property>
     <property name="hibernate.connection.password">${jdbc.sybase.password}</property>
     <!-- JDBC connection properties (end) -->
-    
-    <!-- Automatic schema creation (begin) ===
-    <property name="hibernate.hbm2ddl.auto">create</property>
-    ==== Automatic schema creation (end) -->
-    
-    <property name="hibernate.connection.pool_size">20</property>
\ No newline at end of file
+

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/test/java/org/jbpm/context/exe/CustomVariableStringIdDbTest.java
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/test/java/org/jbpm/context/exe/CustomVariableStringIdDbTest.java	2008-11-08 23:39:05 UTC (rev 2822)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/test/java/org/jbpm/context/exe/CustomVariableStringIdDbTest.java	2008-11-09 00:37:24 UTC (rev 2823)
@@ -95,6 +95,5 @@
     {
       jbpmContext.getGraphSession().deleteProcessDefinition(processDefinition.getId());
     }
-
   }
-}
\ No newline at end of file
+}




More information about the jbpm-commits mailing list