Closed gofabian closed 3 years ago
Programmatic transactions can be implemented using TransactionalOperator
.
Example: https://medium.com/swlh/working-with-relational-database-using-r2dbc-databaseclient-d61a60ebc67f Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/transaction/reactive/TransactionalOperator.html
I close the issue because the feature can be realized already (outside of this library).
This is intended as alternative to the
@Transactional
annotations and is more the JOOQ approach.Something like
ReactiveJooq.transaction(dslContext, () -> Mono.empty())
Spring Data R2DBC docs: https://github.com/spring-projects/spring-data-r2dbc/blob/master/src/main/asciidoc/reference/r2dbc-transactions.adoc JOOQ docs: https://www.jooq.org/doc/latest/manual/sql-execution/transaction-management/