spring-framework / org.springframework.transaction.jta / SpringJtaSynchronizationAdapter / beforeCompletion

beforeCompletion

open fun beforeCompletion(): Unit

JTA beforeCompletion callback: just invoked before commit.

In case of an exception, the JTA transaction will be marked as rollback-only.

See Also
org.springframework.transaction.support.TransactionSynchronization#beforeCommit