[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-645) relationship updates are not sent to entity-listeners

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Aug 2 15:32:12 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved ANN-645.
----------------------------------

    Resolution: Won't Fix

That's expected I guess, it's mappedBy

> relationship updates are not sent to entity-listeners
> -----------------------------------------------------
>
>                 Key: ANN-645
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-645
>             Project: Hibernate Annotations
>          Issue Type: Bug
>    Affects Versions: 3.3.0.ga
>            Reporter: Michael Newcomb
>
> @Entity 
> public class A 
> { 
>   @OneToMany(mappedBy = "a") 
>   protected Set<B> bs = new HashSet<B>(); 
> } 
> @Entity 
> public class B 
> { 
>   @ManyToOne 
>   protected A a; 
> }
> When a B is added to the set of Bs in A, entity listeners for A are not notified (specifically, pre-update and post-update).

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