[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2616) No event is fired on Collection recreate/remove/update action

Maria Giovanna Bellucci (JIRA) noreply at atlassian.com
Mon Nov 26 14:30:57 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28956 ] 

Maria Giovanna Bellucci commented on HHH-2616:
----------------------------------------------

We need this event to track every change in a persistent object, including removal of elements in a collection, for a custom security policy. Without it, it's impossible to detect when a collection of values is updated.

> No event is fired on Collection recreate/remove/update action
> -------------------------------------------------------------
>
>                 Key: HHH-2616
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2616
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.4
>            Reporter: Emmanuel Bernard
>            Assignee: Gail Badner
>             Fix For: 3.2.6, 3.3
>
>
> There is no way today to know if a collection has been updated (in the generic sense of it)
> managedEntity.getCollection().add(object)
> fires no event.
> Seems to me that it should fire  Pre/PostUpdateEvent. Because of PostUpdateEvent signature we might need a PostUpdateCollectionEvent (Update meaning Update/Create/Delete) 

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