[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5716) PersistentSet.clear() is not invoked on Lazy set when it is called before initialization of the set.
Pavol Zibrita (JIRA)
noreply at atlassian.com
Fri Nov 5 11:22:13 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavol Zibrita updated HHH-5716:
-------------------------------
Attachment: HHH5716_test_project.zip
Eclipse project using maven for dependencies including a patch for the fix.
Run the testcase.
Apply the included patch, and tun the testcase again.
> PersistentSet.clear() is not invoked on Lazy set when it is called before initialization of the set.
> ----------------------------------------------------------------------------------------------------
>
> Key: HHH-5716
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5716
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.6.0
> Environment: 3.6.0.Final
> Reporter: Pavol Zibrita
> Attachments: HHH5716_test_project.zip
>
>
> When an entity is loaded which has a set of inverse elements with no orphan delete and .clear() is called on the lazy collection before the collection is initialized, than the collection is not cleared correctly. The PersistentSet.endRead() method discards any queued requests.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list