I'm using MYSQL with R2DBC
(with spring-data-r2dbc
and jasync-r2dbc-mysql
) and Reactive Mongo with spring-data-mongo-reactive
.
I want to set transaction which includes both operations.
At first, I considered JTA
and ChainedTransactionManager
but as I know, both of them implements PlatformTransactionManager
, not ReactiveTransactionManager
.
Considering that both R2DBCTransactionManager
of spring-data-r2dbc
and ReactiveMongoTransactionManager
of spring-data-mongodb
implements AbstractReactiveTransactionManager
, is there any way to integrate them in one transaction?