We recommend to not use ChainedTransactionManager as it emulates distributed transactions without providing consistency guarantees that can end up in partially committed transactions. To attach to commit/rollback operations we recommend registering TransactionSynchronization instead.
Closes#2232
Original Pull Request: #2286
pull/2292/head
Mark Paluch5 years agocommitted byChristoph Strobl
@ -156,7 +174,7 @@ public class ChainedTransactionManager implements PlatformTransactionManager {
@@ -156,7 +174,7 @@ public class ChainedTransactionManager implements PlatformTransactionManager {
}else{
// after unsucessfull commit we must try to rollback remaining transaction managers
// after unsuccessful commit we must try to rollback remaining transaction managers