[hibernate-issues] [Hibernate-JIRA] Created: (EJB-318) PostUpdate callback not called after update on a collection / association (@OneToMany for example)

Aghnar von Salza (JIRA) noreply at atlassian.com
Fri Oct 5 11:43:38 EDT 2007


PostUpdate callback not called after update on a collection / association (@OneToMany for example)
--------------------------------------------------------------------------------------------------

                 Key: EJB-318
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-318
             Project: Hibernate Entity Manager
          Issue Type: Bug
          Components: EntityManager
         Environment: Hibernate core3.2.5, entityManager 3.3.1, annotation 3.3.0,  oracle 9i

            Reporter: Aghnar von Salza


Environment is Weblogic 10 (J2EE 5), with Hibernate used as JPA provider

There is no PostUpdate callback on an entity when one of its collections of other Entities (for example annoted with @OneToMany) is
updated (i mean when one entity element is added or removed). 

JPA specification says that a postUpate must be called after the update of at least one data of an entity.
I think we have to consider that a collection of other entities can be considered as data.





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