1 Unmanaged Datasource, 1 Managed Datasource #39814
Unanswered
zachlefevre
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Howdy!
I have a project with multiple datasources.
1 datasource is passed into an external library which uses it. This external library handles transactions and sessions.
The other datasource is quarkus-managed and should respect
@Transactional
, and is only interacted with via the ORM.This doesn't seem possible without manually managing transactions in the managed datasource.
My config contains
It seems, however, that when operating in a
@Transactional
function that uses both themanaged
andunmanaged
datasource transactions are turned off globally, even thoughtransactions
remains enabled in themanaged
datasource.Beta Was this translation helpful? Give feedback.
All reactions