spring-framework / org.springframework.transaction.support / TransactionSynchronizationUtils / triggerBeforeCommit

triggerBeforeCommit

open static fun triggerBeforeCommit(readOnly: Boolean): Unit

Trigger beforeCommit callbacks on all currently registered synchronizations.

Parameters

readOnly - whether the transaction is defined as read-only transaction

Exceptions

RuntimeException - if thrown by a beforeCommit callback

See Also
TransactionSynchronization#beforeCommit(boolean)