[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2079) Add pre flush event listener holding all the changed entities and the operations on them
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Sep 15 14:00:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2079?page=comments#action_24509 ]
Emmanuel Bernard commented on HHH-2079:
---------------------------------------
While sounding like useful idea and fixing some other related issues, this is actually not simple to implement correctly. You could end up doing n pre-flush phases (even if we could arguably limit it to one). Each pre_flush phase really being a virtual flush: this can be a very expensive operation.
> 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
> Type: New Feature
> Components: core
> 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