Top For Removal Deprecated
Spring Transaction 6.1.4

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
6.1
org.springframework.transaction.reactive.GenericReactiveTransaction.GenericReactiveTransaction(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources)

6.1
org.springframework.transaction.support.DefaultTransactionStatus.DefaultTransactionStatus(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources)

Deprecated Item Summary

SinceDeprecated Item and Description
6.0.3
6.0.3
org.springframework.dao.CleanupFailureDataAccessException

as of 6.0.3 since it is not in use within core JDBC/ORM support

6.0.3
6.0
org.springframework.transaction.interceptor.TransactionInterceptor.TransactionInterceptor(PlatformTransactionManager
the default transaction manager to perform the actual transaction management
ptm
,
TransactionAttributeSource
the attribute source to be used to find transaction attributes
tas
)

as of 5.2.5, in favor of TransactionInterceptor(TransactionManager, TransactionAttributeSource)

org.springframework.transaction.interceptor.TransactionInterceptor.TransactionInterceptor(PlatformTransactionManager
the default transaction manager to perform the actual transaction management
ptm
,
Properties
the transaction attributes in properties format
attributes
)

as of 5.2.5, in favor of setTransactionAttributes(Properties)

6.0.12
org.springframework.transaction.jta.SpringJtaSynchronizationAdapter.SpringJtaSynchronizationAdapter(TransactionSynchronization
the Spring TransactionSynchronization to delegate to
springSynchronization
,
UserTransaction
the JTA UserTransaction to use for rollback-only setting in case of an exception thrown in beforeCompletion
jtaUserTransaction
)

as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown in beforeCompletion, so the regular SpringJtaSynchronizationAdapter(TransactionSynchronization) constructor is sufficient for all scenarios

6.0.12
org.springframework.transaction.jta.SpringJtaSynchronizationAdapter.SpringJtaSynchronizationAdapter(TransactionSynchronization
the Spring TransactionSynchronization to delegate to
springSynchronization
,
TransactionManager
the JTA TransactionManager to use for rollback-only setting in case of an exception thrown in beforeCompletion
jtaTransactionManager
)

as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown in beforeCompletion, so the regular SpringJtaSynchronizationAdapter(TransactionSynchronization) constructor is sufficient for all scenarios