hello!
i am interested in using interceptors to log the post-transaction state of a record to an audit table. so, for example, a CMT-managed session bean calls three setters on an entity. i would like to create a single audit entry for this transaction that contains the state of the entity after the third transaction completes.
what is the easiest way to do this?
b
Have a look at
javax.transaction.Transaction.registerSynchronization
and
javax.transaction.Synchronization
Regards,
Adrian