[jboss-jira] [JBoss JIRA] Closed: (JBPM-444) jbpm Identity : cascade=all in membership.hbm.xml sets.
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu May 10 11:02:57 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-444?page=all ]
David Lloyd closed JBPM-444.
----------------------------
Fix Version/s: jBPM jPDL 3.2.1
Resolution: Done
Assignee: David Lloyd (was: Tom Baeyens)
Fixed by changing the cascade to save-update for both many-to-one relationships in Membership.hbm.xml
> jbpm Identity : cascade=all in membership.hbm.xml sets.
> --------------------------------------------------------
>
> Key: JBPM-444
> URL: http://jira.jboss.com/jira/browse/JBPM-444
> Project: JBoss jBPM
> Issue Type: Bug
> Reporter: kamaljeet sandhu
> Assigned To: David Lloyd
> Fix For: jBPM jPDL 3.2.1
>
>
> The cascade="all" in Membership.class is causing this behaviour :
> If I delete a User --> All Users in that group are deleted.
> I needed to change cascade="save-update".
> Is this a bug .
> Rgds,
> Sandhu
--
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