[jbpm-commits] JBoss JBPM SVN: r5636 - jbpm4/trunk/modules/pvm/src/main/resources.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Sep 14 10:34:10 EDT 2009
Author: jbarrez
Date: 2009-09-14 10:34:10 -0400 (Mon, 14 Sep 2009)
New Revision: 5636
Modified:
jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml
Log:
Added eager fetching of ProcessInstance and parent execution to the Execution hbm mapping. This is required since these objects are accessible through the API.
Modified: jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml 2009-09-14 14:33:18 UTC (rev 5635)
+++ jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml 2009-09-14 14:34:10 UTC (rev 5636)
@@ -18,7 +18,7 @@
<param name="org.jbpm.pvm.internal.type.converter.ShortToLongConverter" >short-long</param>
</typedef>
- <!-- ### PROCESS DEFINITION ############################################# -->
+ <!-- ### EXECUTION ############################################# -->
<class name="ExecutionImpl"
table="JBPM4_EXECUTION"
discriminator-value="pvm">
@@ -81,13 +81,15 @@
column="PARENT_"
class="ExecutionImpl"
foreign-key="FK_EXEC_PARENT"
- index="IDX_EXEC_PARENT" />
+ index="IDX_EXEC_PARENT"
+ lazy="false" />
<many-to-one name="processInstance"
class="ExecutionImpl"
column="INSTANCE_"
foreign-key="FK_EXEC_INSTANCE"
- index="IDX_EXEC_INSTANCE" />
+ index="IDX_EXEC_INSTANCE"
+ lazy="false" />
<many-to-one name="superProcessExecution"
column="SUPEREXEC_"
More information about the jbpm-commits
mailing list