[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2291) collection based on property-ref not handled correctly during reattch

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Dec 8 11:10:04 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2291?page=all ]
     
Steve Ebersole closed HHH-2291:
-------------------------------

    Resolution: Fixed

trunk / 3.2

> collection based on property-ref not handled correctly during reattch
> ---------------------------------------------------------------------
>
>          Key: HHH-2291
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2291
>      Project: Hibernate3
>         Type: Bug

>     Versions: 3.2.1
>     Reporter: Steve Ebersole
>     Assignee: Steve Ebersole
>      Fix For: 3.2.2

>
>
> Yes, an ongoing theme I know ;)
> Specifically, the issue being addressed here is a bug in OnUpdateVisitor.  When dealing with collection reattachments, it is assumed that OnUpdateVisitor.getKey() represents the collection key.  But it does not necessarily.  getKey() is the owner's identifier; it is the owner being visited!

-- 
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