How to record all the changes made in a transaction?


WeiMing.Tang@...
 

We would like  to do data trail with DN.  That is , for every transaction, we want to record all the changes made in the transaction and log them in log file.  We find that DN has interface org.datanucleus.TransactionEventListener to listen to transaction event. But how can we register the listener to a transaction and how to get all changes in the transaction? Thanks for any answering.

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