From: <leg...@at...> - 2003-08-24 07:21:33
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-287 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-287 Summary: documentation error - all-delete-orphan/s Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Versions: 2.0.2 Assignee: Reporter: Will Glass-Husain Created: Sun, 24 Aug 2003 2:20 AM Updated: Sun, 24 Aug 2003 2:20 AM Description: I think the below text should read "all-delete-orphan". At least, that's what worked in Hibernate 2.0.2. Using "all-delete-orphans" gave me an error (invalid cascade type). Nice new feature, BTW. Quoting: http://hibernate.bluemars.net/116.html I removed an object from a collection mapped with cascade="all" but the object was not deleted! cascade="all" cascades the delete() operation from parent to child. If this is a one-to-many association, try using cascade="all-delete-orphans". --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |