spring-framework/spring-r2dbc
Enric Sala edf0ae77e5 Avoid rollback after a commit failure in TransactionalOperator
A failure to commit a reactive transaction will complete the
transaction and clean up resources. Executing a rollback at
that point is invalid, which causes an
IllegalTransactionStateException that masks the cause of the
commit failure.

This change restructures TransactionalOperatorImpl and
ReactiveTransactionSupport to avoid executing a rollback after
a failed commit. While there, the Mono transaction handling in
TransactionalOperator is simplified by moving it to a default
method on the interface.

Closes gh-27572
2023-03-06 10:05:59 +01:00
..
src Avoid rollback after a commit failure in TransactionalOperator 2023-03-06 10:05:59 +01:00
spring-r2dbc.gradle Upgrade to R2DBC 1.0 2022-07-13 10:23:51 +02:00