Re: How to record all the changes made in a transaction?


Andy
 
Edited

TransactionEventListener allows you to know when a transaction begins/commits etc. This is a DN properietary extension to JDO, registered using
https://github.com/datanucleus/datanucleus-api-jdo/blob/master/src/main/java/org/datanucleus/api/jdo/JDOPersistenceManager.java#L2394
What has changed is a different question, which you can catch using standard JDO lifecycle listeners / callbacks.

Join main@datanucleus.groups.io to automatically receive all group messages.