You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just figured out that I somehow don't need an active transaction to make read requests to my datasource during a QuarkusTest. This is unexpected. I tried to have a look in the configs and whatsoever but could not a find a proper setting.
How do I configure Quarkus with Hibernate ORM to make transactions mandatory even for read operations?
Setting TransactionRequirement to STRICT is not an option as the liquibase migration will no be able to execute.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just figured out that I somehow don't need an active transaction to make read requests to my datasource during a QuarkusTest. This is unexpected. I tried to have a look in the configs and whatsoever but could not a find a proper setting.
How do I configure Quarkus with Hibernate ORM to make transactions mandatory even for read operations?
Setting
TransactionRequirement
toSTRICT
is not an option as the liquibase migration will no be able to execute.Beta Was this translation helpful? Give feedback.
All reactions