[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] Transaction listeners? <possibly OT>
|
- From: Syvalta <syvalta@xxxxxxxxx>
- Date: Thu, 29 Oct 2009 07:40:37 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
Hi,
Is there any way to know what has changed in a transaction, something like a
transaction listener? Something in lines of "transaction committed, entity x
updated, entity y removed, entity z persisted". If I understood JPA
specification correctly, entity listeners are called independent of the
transaction, so if commit fails entity listeners for some of the entities
might already got called.
Some use cases I have in mind: change log of the system configuration,
applying configuration changes to a running system (think for example of
mail server which can be configured from web ui).
Any ideas/comments/pointers really appreciated.
--
View this message in context: http://www.nabble.com/Transaction-listeners--%3Cpossibly-OT%3E-tp26114366p26114366.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.