I'am using quarkus with JDBI. Is there any equivalent to Spring's class TransactionAwareDataSourceProxy.class which will wrap DataSource forcing JDBI to get an existinga Connection associated with the current transaction, when it requests a new Connection.
Asked
Active
Viewed 722 times
2
-
1You can try to adapt code like that: https://github.com/ApolloFoundation/Apollo/tree/master/apl-core/src/main/java/com/apollocurrency/aplwallet/apl/core/db/cdi/transaction/ *JdbiTransactionalInterceptor* first of all and other related classes But we use it with Weld now and think about adoption for Quarkus, if that will be possible. – blandger Nov 26 '20 at 12:55