[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2079?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira