-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SessionEventListener: add pre/post flush() events #1240
Comments
Can I get an update on this, please? |
rfelcman
pushed a commit
that referenced
this issue
Nov 8, 2023
* Fixes #1240 : SessionEventListener: add pre/post flush() events - added preFlushUnitOfWork/postFlushUnitOfWork events - removed preCommitUnitOfWork event from flush in UnitOfWorkImpl - added unitTests for flush events Signed-off-by: Patrick Schmitt <[email protected]>
rfelcman
pushed a commit
that referenced
this issue
Nov 8, 2023
Fixes #1240 : SessionEventListener: add pre/post flush() events - added preFlushUnitOfWork/postFlushUnitOfWork events - removed preCommitUnitOfWork event from flush in UnitOfWorkImpl - added unitTests for flush events Signed-off-by: Patrick Schmitt <[email protected]>
Zuplyx
added a commit
to Zuplyx/eclipselink
that referenced
this issue
Jun 20, 2024
…nts (eclipse-ee4j#1978) * Fixes eclipse-ee4j#1240 : SessionEventListener: add pre/post flush() events - added preFlushUnitOfWork/postFlushUnitOfWork events - removed preCommitUnitOfWork event from flush in UnitOfWorkImpl - added unitTests for flush events Signed-off-by: Patrick Schmitt <[email protected]> (cherry picked from commit 5db018c)
rfelcman
pushed a commit
that referenced
this issue
Jun 20, 2024
…rt from master (#2178) * Fix #1240: SessionEventListener: add pre/post flush() events (#1978) - added preFlushUnitOfWork/postFlushUnitOfWork events - removed preCommitUnitOfWork event from flush in UnitOfWorkImpl - added unitTests for flush events Signed-off-by: Patrick Schmitt <[email protected]> (cherry picked from commit 5db018c)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
EclipseLink thankfully has the incredibly useful concept of a
SessionEventListener
to react on certain events before or after they actually happen.Unfortunately, it does not declare events regarding to flushing of the UnitOfWork/EntityManager.
Would it be possible to add the two methods (preFlushUnitOfwork/postFlushUnitOfWork) to the interface?
See also this more than 10 year old feature request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332723
Thanks!
The text was updated successfully, but these errors were encountered: