Q3What are TransactionSynchronization callbacks?
TransactionSynchronization is a Spring callback interface that lets you hook custom logic into the lifecycle of the current transaction, running the right side effect at the right moment: notify only after commit, clean up always after completion.