[jbpm-commits] JBoss JBPM SVN: r5166 - in jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources: org/jbpm/context/log and 4 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jun 30 10:40:57 EDT 2009


Author: alex.guizar at jboss.com
Date: 2009-06-30 10:40:56 -0400 (Tue, 30 Jun 2009)
New Revision: 5166

Removed:
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.mapping.oracle.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.oracle.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.oracle.hbm.xml
Modified:
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.sybase.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
   jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.hbm.xml
Log:
JBPM-2115: jBPM testsuite hangs when executed with DB2 (CODING IN PROGRESS)
Revert r5108 to prevent deadlocks in DB2

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.mapping.oracle.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.mapping.oracle.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.mapping.oracle.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,142 +0,0 @@
-    <!-- ###################### -->
-    <!-- # jbpm mapping files # -->
-    <!-- ###################### -->
-
-    <!-- hql queries -->
-    <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
-
-    <!-- type mappings -->
-    <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 -->
-    <!--
-    <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
-    -->
-
-    <!-- graph.action mapping files -->
-    <mapping resource="org/jbpm/graph/action/MailAction.hbm.xml"/>
-
-    <!-- graph.def mapping files -->
-    <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
-    <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 resource="org/jbpm/graph/action/Script.hbm.xml"/>
-
-    <!-- graph.node mapping files -->
-    <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/MailNode.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
-
-    <!-- context.def mapping files -->
-    <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
-    <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
-
-    <!-- bytes mapping files -->
-    <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
-
-    <!-- module.def mapping files -->
-    <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
-
-    <!-- file.def mapping files -->
-    <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
-
-    <!-- taskmgmt.def mapping files -->
-    <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
-
-    <!-- scheduler.def mapping files -->
-    <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
-    <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
-
-    <!-- graph.exe mapping files -->
-    <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
-
-    <!-- module.exe mapping files -->
-    <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
-
-    <!-- context.exe mapping files -->
-    <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
-    <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
-    <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.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"/>
-
-    <!-- job mapping files -->
-    <mapping resource="org/jbpm/job/Job.hbm.xml"/>
-    <mapping resource="org/jbpm/job/Timer.hbm.xml"/>
-    <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml"/>
-    <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml"/>
-    <mapping resource="org/jbpm/job/CleanUpProcessJob.hbm.xml"/>
-
-    <!-- taskmgmt.exe mapping files -->
-    <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
-
-    <!-- logging mapping files -->
-    <mapping resource="org/jbpm/logging/log/ProcessLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
-    <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/ActionLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/NodeLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/SignalLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/TokenCreateLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/TokenEndLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/graph/log/TransitionLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/VariableLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/TaskLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.oracle.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
-    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
             
     <many-to-one name="variableInstance" 
                  column="VARIABLEINSTANCE_" 
-                 foreign-key="FK_LOG_VARINST" />
+                 foreign-key="FK_LOG_VARINST"
+                 index="IDX_LOG_VARINST" />
 
   </subclass>
 

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/VariableLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.context.log.VariableLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="V">
-            
-    <many-to-one name="variableInstance" 
-                 column="VARIABLEINSTANCE_" 
-                 foreign-key="FK_LOG_VARINST"
-                 index="IDX_LOG_VARINST" />
-
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -14,12 +14,14 @@
                  class="org.jbpm.bytes.ByteArray"
                  column="OLDBYTEARRAY_"
                  cascade="all"
-                 foreign-key="FK_LOG_OLDBYTES" />
+                 foreign-key="FK_LOG_OLDBYTES"
+                 index="IDX_LOG_OLDBYTES" />
     <many-to-one name="newValue" 
                  class="org.jbpm.bytes.ByteArray"
                  column="NEWBYTEARRAY_"
                  cascade="all"
-                 foreign-key="FK_LOG_NEWBYTES" />
+                 foreign-key="FK_LOG_NEWBYTES"
+                 index="IDX_LOG_NEWBYTES" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.context.log.variableinstance.ByteArrayUpdateLog" 
-            extends="org.jbpm.context.log.VariableUpdateLog"
-            discriminator-value="B">
-
-    <many-to-one name="oldValue" 
-                 class="org.jbpm.bytes.ByteArray"
-                 column="OLDBYTEARRAY_"
-                 cascade="all"
-                 foreign-key="FK_LOG_OLDBYTES"
-                 index="IDX_LOG_OLDBYTES" />
-    <many-to-one name="newValue" 
-                 class="org.jbpm.bytes.ByteArray"
-                 column="NEWBYTEARRAY_"
-                 cascade="all"
-                 foreign-key="FK_LOG_NEWBYTES"
-                 index="IDX_LOG_NEWBYTES" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -14,7 +14,8 @@
     
     <many-to-one name="action"
                  column="ACTION_"
-                 foreign-key="FK_LOG_ACTION" />
+                 foreign-key="FK_LOG_ACTION"
+                 index="IDX_LOG_ACTION" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.ActionLog"
-            extends="org.jbpm.logging.log.CompositeLog"
-            discriminator-value="A">
-
-    <property name="exception" column="EXCEPTION_" type="longstring" length="4000"/>
-    
-    <many-to-one name="action"
-                 column="ACTION_"
-                 foreign-key="FK_LOG_ACTION"
-                 index="IDX_LOG_ACTION" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.sybase.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.sybase.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.sybase.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -14,7 +14,8 @@
 
     <many-to-one name="action"
                  column="ACTION_"
-                 foreign-key="FK_LOG_ACTION" />
+                 foreign-key="FK_LOG_ACTION"
+                 index="IDX_LOG_ACTION" />
   </subclass>
 
 </hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
             
     <many-to-one name="node" 
                  column="NODE_" 
-                 foreign-key="FK_LOG_NODE" />
+                 foreign-key="FK_LOG_NODE"
+                 index="IDX_LOG_NODE" />
     <property name="enter"
               column="ENTER_" />
     <property name="leave"

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/NodeLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.NodeLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="N">
-            
-    <many-to-one name="node" 
-                 column="NODE_" 
-                 foreign-key="FK_LOG_NODE"
-                 index="IDX_LOG_NODE" />
-    <property name="enter"
-              column="ENTER_" />
-    <property name="leave"
-              column="LEAVE_" />
-    <property name="duration"
-              column="DURATION_" />
-
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
 
     <many-to-one name="transition"
                  column="TRANSITION_"
-                 foreign-key="FK_LOG_TRANSITION" />
+                 foreign-key="FK_LOG_TRANSITION"
+                 index="IDX_LOG_TRANSITION" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/SignalLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.SignalLog" 
-            extends="org.jbpm.logging.log.CompositeLog"
-            discriminator-value="S">
-
-    <many-to-one name="transition"
-                 column="TRANSITION_"
-                 foreign-key="FK_LOG_TRANSITION"
-                 index="IDX_LOG_TRANSITION" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
 
     <many-to-one name="child" 
                  column="CHILD_" 
-                 foreign-key="FK_LOG_CHILDTOKEN" />
+                 foreign-key="FK_LOG_CHILDTOKEN"
+                 index="IDX_LOG_CHILDTOKEN" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenCreateLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.TokenCreateLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="O">
-
-    <many-to-one name="child" 
-                 column="CHILD_" 
-                 foreign-key="FK_LOG_CHILDTOKEN"
-                 index="IDX_LOG_CHILDTOKEN" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
             
     <many-to-one name="child" 
                  column="CHILD_" 
-                 foreign-key="FK_LOG_CHILDTOKEN" />
+                 foreign-key="FK_LOG_CHILDTOKEN"
+                 index="IDX_LOG_CHILDTOKEN" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TokenEndLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.TokenEndLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="Y">
-            
-    <many-to-one name="child" 
-                 column="CHILD_" 
-                 foreign-key="FK_LOG_CHILDTOKEN"
-                 index="IDX_LOG_CHILDTOKEN" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,13 +12,16 @@
             
     <many-to-one name="transition" 
                  column="TRANSITION_" 
-                 foreign-key="FK_LOG_TRANSITION" />
+                 foreign-key="FK_LOG_TRANSITION"
+                 index="IDX_LOG_TRANSITION" />
     <many-to-one name="sourceNode" 
                  column="SOURCENODE_" 
-                 foreign-key="FK_LOG_SOURCENODE" />
+                 foreign-key="FK_LOG_SOURCENODE"
+                 index="IDX_LOG_SOURCENODE" />
     <many-to-one name="destinationNode" 
                  column="DESTINATIONNODE_" 
-                 foreign-key="FK_LOG_DESTNODE" />
+                 foreign-key="FK_LOG_DESTNODE"
+                 index="IDX_LOG_DESTNODE" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/graph/log/TransitionLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.graph.log.TransitionLog" 
-            extends="org.jbpm.logging.log.CompositeLog"
-            discriminator-value="T">
-            
-    <many-to-one name="transition" 
-                 column="TRANSITION_" 
-                 foreign-key="FK_LOG_TRANSITION"
-                 index="IDX_LOG_TRANSITION" />
-    <many-to-one name="sourceNode" 
-                 column="SOURCENODE_" 
-                 foreign-key="FK_LOG_SOURCENODE"
-                 index="IDX_LOG_SOURCENODE" />
-    <many-to-one name="destinationNode" 
-                 column="DESTINATIONNODE_" 
-                 foreign-key="FK_LOG_DESTNODE"
-                 index="IDX_LOG_DESTNODE" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -48,10 +48,12 @@
     <property name="date" column="DATE_" />
     <many-to-one name="token" 
                  column="TOKEN_" 
-                 foreign-key="FK_LOG_TOKEN" />
+                 foreign-key="FK_LOG_TOKEN"
+                 index="IDX_LOG_TOKEN" />
     <many-to-one name="parent" 
                  column="PARENT_" 
-                 foreign-key="FK_LOG_PARENT" />
+                 foreign-key="FK_LOG_PARENT"
+                 index="IDX_LOG_PARENT" />
   </class>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/logging/log/ProcessLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,59 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <class name="org.jbpm.logging.log.ProcessLog" 
-         table="JBPM_LOG"
-         discriminator-value="P"
-         lazy="false">
-    <id name="id" column="ID_"><generator class="native" /></id>
-    <!-- A : org.jbpm.graph.log.ActionLog -->
-    <!-- B : org.jbpm.context.log.ByteArrayUpdateLog -->
-    <!-- C : org.jbpm.logging.log.CompositeLog -->
-    <!-- D : org.jbpm.context.log.VariableDeleteLog -->
-    <!-- E : org.jbpm.context.log.DateUpdateLog -->
-    <!-- F : org.jbpm.context.log.HibernateStringUpdateLog -->
-    <!-- G : org.jbpm.context.log.LongUpdateLog -->
-    <!-- H : org.jbpm.context.log.HibernateLongUpdateLog -->
-    <!-- I : org.jbpm.graph.log.ProcessInstanceCreateLog -->
-    <!-- L : org.jbpm.context.log.DoubleUpdateLog -->
-    <!-- M : org.jbpm.logging.log.MessageLog -->
-    <!-- N : org.jbpm.graph.log.NodeLog -->
-    <!-- O : org.jbpm.graph.log.TokenCreateLog -->
-    <!-- P : org.jbpm.logging.log.ProcessLog -->
-    <!-- R : org.jbpm.context.log.VariableCreateLog -->
-    <!-- S : org.jbpm.graph.log.SignalLog -->
-    <!-- T : org.jbpm.graph.log.TransitionLog -->
-    <!-- U : org.jbpm.context.log.StringUpdateLog -->
-    <!-- V : org.jbpm.context.log.VariableLog -->
-    <!-- W : org.jbpm.context.log.VariableUpdateLog -->
-    <!-- X : org.jbpm.graph.log.ProcessInstanceEndLog -->
-    <!-- Y : org.jbpm.graph.log.TokenEndLog -->
-    <!-- Z : org.jbpm.graph.log.ProcessStateLog -->
-    <!-- 0 : org.jbpm.taskmgmt.log.TaskLog -->
-    <!-- 1 : org.jbpm.taskmgmt.log.TaskCreateLog -->
-    <!-- 2 : org.jbpm.taskmgmt.log.TaskAssignLog -->
-    <!-- 3 : org.jbpm.taskmgmt.log.TaskEndLog -->
-    <!-- 4 : org.jbpm.taskmgmt.log.SwimlaneLog -->
-    <!-- 5 : org.jbpm.taskmgmt.log.SwimlaneCreateLog -->
-    <!-- 6 : org.jbpm.taskmgmt.log.SwimlaneAssignLog -->
-
-    <discriminator type="char" column="CLASS_"/>
-    
-    <property name="index" column="INDEX_" />
-    <property name="date" column="DATE_" />
-    <many-to-one name="token" 
-                 column="TOKEN_" 
-                 foreign-key="FK_LOG_TOKEN"
-                 index="IDX_LOG_TOKEN" />
-    <many-to-one name="parent" 
-                 column="PARENT_" 
-                 foreign-key="FK_LOG_PARENT"
-                 index="IDX_LOG_PARENT" />
-  </class>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
 
     <many-to-one name="swimlaneInstance" 
                  column="SWIMLANEINSTANCE_" 
-                 foreign-key="FK_LOG_SWIMINST" />
+                 foreign-key="FK_LOG_SWIMINST"
+                 index="IDX_LOG_SWIMINST" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/SwimlaneLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.taskmgmt.log.SwimlaneLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="4">
-
-    <many-to-one name="swimlaneInstance" 
-                 column="SWIMLANEINSTANCE_" 
-                 foreign-key="FK_LOG_SWIMINST"
-                 index="IDX_LOG_SWIMINST" />
-  </subclass>
-
-</hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -12,7 +12,8 @@
 
     <many-to-one name="taskInstance" 
                  column="TASKINSTANCE_" 
-                 foreign-key="FK_LOG_TASKINST" />
+                 foreign-key="FK_LOG_TASKINST"
+                 index="IDX_LOG_TASKINST" />
   </subclass>
 
 </hibernate-mapping>

Deleted: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.oracle.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.oracle.hbm.xml	2009-06-30 13:58:20 UTC (rev 5165)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/org/jbpm/taskmgmt/log/TaskLog.oracle.hbm.xml	2009-06-30 14:40:56 UTC (rev 5166)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
-
-  <subclass name="org.jbpm.taskmgmt.log.TaskLog" 
-            extends="org.jbpm.logging.log.ProcessLog"
-            discriminator-value="0">
-
-    <many-to-one name="taskInstance" 
-                 column="TASKINSTANCE_" 
-                 foreign-key="FK_LOG_TASKINST"
-                 index="IDX_LOG_TASKINST" />
-  </subclass>
-
-</hibernate-mapping>




More information about the jbpm-commits mailing list