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