Hello! Has anyone achieve to made the `@Transactio...
# spring
l
Hello! Has anyone achieve to made the
@Transactional
work using
suspend
functions? (using sql db)
r
IIRC you have to use a
TransactionalOperator
.
w
When using
R2DBC
, it depends on the convenience of the framework you use. When using the framework provided by
Spring
(e.g.
CoroutineCrudRepository
), there was no problem, but in the case of
jOOQ
, it was necessary to take a workaround as shown in the sample below. https://github.com/jOOQ/jOOQ/issues/12218#issuecomment-1213929029