[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2079) Add pre flush event listener holding all the changed entities and the operations on them

Darren Bell (JIRA) noreply at atlassian.com
Wed Dec 19 10:00:56 EST 2007


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

Darren Bell commented on HHH-2079:
----------------------------------

Could be expensive, yes, but i'd rather have it and be able to do auditting correctly.

Also, could events be added that get fired after the flush,but before the transaction has been committed?  This would solve the problem.

> Add pre flush event listener holding all the changed entities and the operations on them
> ----------------------------------------------------------------------------------------
>
>                 Key: HHH-2079
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2079
>             Project: Hibernate3
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.2.0.ga
>            Reporter: Shay Banon
>
> Is there a chance to add a pre flush event listener. The event listener will have all the entities changes about to be flushed, including the operation about to be performed on them (delete, update, create).
> This issue relates to HHH-1725 and the collection not processed by flush exception. Maybe there would be a chance to load the lazy collections before the actual flush operation using the mentioned listener.

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