[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3618) Lack of documentation of the method Interceptor.onCollectionUpdate

Ed Bras (JIRA) noreply at atlassian.com
Sat Nov 22 07:22:16 EST 2008


Lack of documentation of the method Interceptor.onCollectionUpdate
------------------------------------------------------------------

                 Key: HHH-3618
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3618
             Project: Hibernate Core
          Issue Type: Bug
          Components: documentation
    Affects Versions: 3.3.1
         Environment: n.a.
            Reporter: Ed Bras


A few verions ago the new method Interceptor.onCollectionUpdate was introduced, which could be very nice to do "something" just before value type objects are flushed. However, the usage is totaly unclear and till today no documentation is available. 
Also in the forum, nobody seems to really know how it should be used, and there is confusion about his usage in the forum.

It would be very nice if somebody of the development team would take 5 minutes to right this down with a few examples.  At least developers can then really make use of it.
In my case I need to update a date of value type objects that are stored in a set that is cascaded updated due to an update call on his entity.
For example: Entity: member that has a set of status history objects (value types).
But I have no idea how to do this correctly without too much performance impact, even not after debugging the call to this method...



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