How to enable PersistenceContextType.EXTENDED #31822
Unanswered
Treiblesschorle
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.
-
Hi,
I'm currently migrating an existing application which was using Application Managed Entity Managers to using Container Managed Entity Managers (quarkus-hibernate-orm) with JTA. My code is relying on the fact that transactions are using EXTENDED persistence context type, but I can't find how to enable it. Usually, this is done using
@PersistenceContext
annotation, but that does not seem to work with quarkus. I'm currently using the quarkus specificio.quarkus.hibernate.orm.PersistenceUnit
annotation but there does not seem to be a quarkus version ofPersistenceContext
. Is it possible to enable the EXTENDED persistence context somehow?Beta Was this translation helpful? Give feedback.
All reactions