[jboss-jira] [JBoss JIRA] Commented: (JBPM-345) persisting process definition with superstate hibernate problems
Dimitar Marinov (JIRA)
jira-events at jboss.com
Wed Oct 11 04:34:43 EDT 2006
[ http://jira.jboss.com/jira/browse/JBPM-345?page=comments#action_12345024 ]
Dimitar Marinov commented on JBPM-345:
--------------------------------------
A simple modification in the ProcessDefinition.hbm.xml file soved the problem for me. Just replace
<list name="nodes" cascade="all">
with
<list name="nodes" cascade="all" where="SUPERSTATE_ is null">
after that ProcessDefinitions include only nodes which don't belong to any SuperState.
Best regards,
Dimitar Marinov
> persisting process definition with superstate hibernate problems
> ----------------------------------------------------------------
>
> Key: JBPM-345
> URL: http://jira.jboss.com/jira/browse/JBPM-345
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.0.1
> Reporter: James Depoorter
> Assigned To: Tom Baeyens
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> When persisting a process definition with superstates and reloading, hibernate has trouble loading "root" nodes mixed with superstates. The superstate 'overwrites' the link. This is due to the re-use of the collectionindex column for both nodes within superstates, and nodes within process definition, and the fact that EVERY node has a link to the process definition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list