quarkiverse / quarkus-jooq

Quarkus Jooq Extension
Apache License 2.0
68 stars 17 forks source link

How to enable transaction support ? (Narayana transaction manager) #126

Open laurentperez opened 1 year ago

laurentperez commented 1 year ago

Hello

Currently using the plugin it binds to a no-op transaction, https://www.jooq.org/javadoc/dev/org.jooq/org/jooq/impl/NoTransactionProvider.html

Strangely it does not plug a https://www.jooq.org/javadoc/dev/org.jooq/org/jooq/impl/DefaultTransactionProvider.html when I use DSL.using(connection)

https://www.baeldung.com/spring-boot-support-for-jooq references a TransactionAwareDataSourceProxy but I don't understand how to set the Quarkus equivalent

Does anyone have a working example of using a Narayana https://quarkus.io/guides/transaction transactionmanager together with this plugin ?

thanks

vszakd commented 8 months ago

+1