-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixing user-supplied, application-managed EntityManagers with container-managed EntityManagers may not work #4929
Comments
(Moved out of sprint scope to high priority only because I'm working on #4928 first.) |
I understand the root issue. In this block: helidon/integrations/cdi/jpa-cdi/src/main/java/io/helidon/integrations/cdi/jpa/JpaExtension.java Lines 1042 to 1070 in fc6fc34
…it will "fire" if the user has written, for example:
…which is incorrect. The block should "fire" only if
It is likely but not guaranteed that a fix for this will be delivered in PR(s) that address #4928. |
Indeed this works just fine with Eclipselink (when you introduce an application-managed |
Container-managed
EntityManager
s with a given qualifier and user-managedEntityManager
s with the same qualifier seemingly prevent injection of anyEntityManager
with that qualifier. This is an edge use case but should be supported.The text was updated successfully, but these errors were encountered: