Re: Does JDO provide a hook/trigger to identify a transaction commit/boundary?


Andy
 

Look at JDO spec 13.4.3, you can call
transaction.setSynchronization(...)
and be notified via the (standard) beforeCompletion/afterCompletion methods.

Note that this is for a transaction itself. It will not include NON-TRANSACTIONAL ops which are ... not transactional.

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