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

Michael Newcomb (JIRA) noreply at atlassian.com
Thu Aug 2 11:34:11 EDT 2007


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