From: <leg...@at...> - 2003-05-31 08:42:58
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sat, 31 May 2003 3:06 AM Thanks - 1 line fix and a test in CVS. I *thought* I had already taken care of this, but I had only done so for evict(), not for refresh(). --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-115 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-115 Summary: Save after refresh object with unloaded lazy collections Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.0 final Assignee: Gavin King Reporter: Ivlev Dmitry Created: Thu, 29 May 2003 11:56 PM Updated: Sat, 31 May 2003 3:06 AM Description: Save after refresh object with unloaded lazy collections delete unloaded objects! Step by step: - I have class with childs (lazy collection) - I load class (childs are not loaded) - I refresh object (object refreshed but unloaded lazy collection becams empty collection) - I modify object fileds and don't touch childs - I save object (object is saved and all childs are DELETED!!!) --------------------------------------------------------------------- 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/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |