[jbpm-commits] JBoss JBPM SVN: r5881 - jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 3 17:22:25 EST 2009


Author: alex.guizar at jboss.com
Date: 2009-11-03 17:22:25 -0500 (Tue, 03 Nov 2009)
New Revision: 5881

Modified:
   jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.db2.xml
   jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.default.xml
   jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.sybase.xml
Log:
JBPM-2617: Dynamic timer support pack for DB2
Revert text columns to varchar(4000)

Modified: jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.db2.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.db2.xml	2009-11-03 22:12:10 UTC (rev 5880)
+++ jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.db2.xml	2009-11-03 22:22:25 UTC (rev 5881)
@@ -5,15 +5,25 @@
     <!-- hql queries -->
     <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
 
-    <!-- DB2 type mappings -->
+    <!-- type definitions -->
+    <mapping resource="org/jbpm/db/hibernate.types.hbm.xml" />
+
+    <!-- DB2 type definitions.
+         Enable these mappings -aimed at new DB2 deployments- in order to
+         employ data type CLOB instead of VARCHAR(4000) in long string columns.
+         With CLOB columns, the jBPM tables fit on a 4KB page-size tablespace,
+         as opposed to the 32KB page-size tablespace required with VARCHAR(4000).
+         For details, see: https://jira.jboss.org/jira/browse/JBPM-2369
+    <!--
     <mapping resource="org/jbpm/db/hibernate.types.db2.hbm.xml" />
+    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.db2.hbm.xml"/>
+    -->
 
-    <!-- hql queries used in simulation for querying historical data.
-         uncomment if you want to use the GetSimulationInputCommand
-         or you want to use the queries directly.
-         beware: the queries need the stddev function to be enabled in your dialect.
-         for more information, visit: 
-         http://www.camunda.com/business_process_simulation_news/mysql_and_stddev.html -->
+    <!-- Historical data queries used by the simulation module.
+         Uncomment in order to employ the GetSimulationInputCommand
+         or execute the queries directly.
+         Beware: the stddev function is required. For more info, visit: 
+         http://www.camunda.com/content/view/96/ -->
     <!--
     <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
     -->
@@ -31,13 +41,10 @@
     <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
     <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
 
-    <!-- ########################################### -->
-    <!-- # mapping file with external dependencies # -->
-    <!-- ########################################### -->
-    <!-- the following mapping file has a dependency on 'bsh-{version}.jar'.
-         uncomment this if bsh is not in your classpath.
-         the script element will not be available in process definition files.
-         note: this mapping must appear below org/jbpm/graph/def/Action.hbm.xml -->
+    <!-- Mapping file with dependency on bsh.jar.
+         comment out if beanshell is not in your classpath.
+         the script element will not be available in process definitions.
+         note: this mapping must appear below Action.hbm.xml -->
     <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
 
     <!-- graph.node mapping files -->
@@ -91,7 +98,7 @@
     <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
     <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
     <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.db2.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
     <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
     <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
     <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>

Modified: jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.default.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.default.xml	2009-11-03 22:12:10 UTC (rev 5880)
+++ jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.default.xml	2009-11-03 22:22:25 UTC (rev 5881)
@@ -5,15 +5,14 @@
     <!-- hql queries -->
     <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
 
-    <!-- type mappings -->
+    <!-- type definitions -->
     <mapping resource="org/jbpm/db/hibernate.types.hbm.xml" />
 
-    <!-- hql queries used in simulation for querying historical data.
-         uncomment if you want to use the GetSimulationInputCommand
-         or you want to use the queries directly.
-         beware: the queries need the stddev function to be enabled in your dialect.
-         for more information, visit: 
-         http://www.camunda.com/business_process_simulation_news/mysql_and_stddev.html -->
+    <!-- Historical data queries used by the simulation module.
+         Uncomment in order to employ the GetSimulationInputCommand
+         or execute the queries directly.
+         Beware: the stddev function is required. For more info, visit: 
+         http://www.camunda.com/content/view/96/ -->
     <!--
     <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
     -->
@@ -31,13 +30,10 @@
     <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
     <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
 
-    <!-- ########################################### -->
-    <!-- # mapping file with external dependencies # -->
-    <!-- ########################################### -->
-    <!-- the following mapping file has a dependency on 'bsh-{version}.jar'.
-         uncomment this if bsh is not in your classpath.
-         the script element will not be available in process definition files.
-         note: this mapping must appear below org/jbpm/graph/def/Action.hbm.xml -->
+    <!-- Mapping file with dependency on bsh.jar.
+         comment out if beanshell is not in your classpath.
+         the script element will not be available in process definitions.
+         note: this mapping must appear below Action.hbm.xml -->
     <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
 
     <!-- graph.node mapping files -->

Modified: jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.sybase.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.sybase.xml	2009-11-03 22:12:10 UTC (rev 5880)
+++ jbpm3/branches/jbpm-3.2.8.GA_JBPM-2617/modules/core/src/main/resources/hibernate.mapping.sybase.xml	2009-11-03 22:22:25 UTC (rev 5881)
@@ -5,15 +5,14 @@
     <!-- hql queries -->
     <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
 
-    <!-- sybase type mappings -->
+    <!-- sybase type definitions -->
     <mapping resource="org/jbpm/db/hibernate.types.sybase.hbm.xml" />
 
-    <!-- hql queries used in simulation for querying historical data.
-         uncomment if you want to use the GetSimulationInputCommand
-         or you want to use the queries directly.
-         beware: the queries need the stddev function to be enabled in your dialect.
-         for more information, visit: 
-         http://www.camunda.com/business_process_simulation_news/mysql_and_stddev.html -->
+    <!-- Historical data queries used by the simulation module.
+         Uncomment in order to employ the GetSimulationInputCommand
+         or execute the queries directly.
+         Beware: the stddev function is required. For more info, visit: 
+         http://www.camunda.com/content/view/96/ -->
     <!--
     <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
     -->
@@ -31,13 +30,10 @@
     <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
     <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
 
-    <!-- ########################################### -->
-    <!-- # mapping file with external dependencies # -->
-    <!-- ########################################### -->
-    <!-- the following mapping file has a dependency on 'bsh-{version}.jar'.
-         uncomment this if bsh is not in your classpath.
-         the script element will not be available in process definition files.
-         note: this mapping must appear below org/jbpm/graph/def/Action.hbm.xml -->
+    <!-- Mapping file with dependency on bsh.jar.
+         comment out if beanshell is not in your classpath.
+         the script element will not be available in process definitions.
+         note: this mapping must appear below Action.hbm.xml -->
     <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
 
     <!-- graph.node mapping files -->



More information about the jbpm-commits mailing list