Open starksm64 opened 4 weeks ago
A draft PR has been created in glassfish to try to move this forward. It still has issues and needs help from glassfish committers.
New issue tracker: https://github.com/eclipse-ee4j/glassfish/pull/25209
New issue tracker: https://github.com/eclipse-ee4j/glassfish/pull/25209
GlassFish 8 supports injecting the entity manager now, but the test from https://github.com/jakartaee/platform-tck/pull/1623 hasn't been merged yet.
There's an open question about the usage of cdi:scope
and cdi:qualifier
vs just scope
and qualifier
.
Describe the bug https://github.com/eclipse-ee4j/glassfish/issues/25198
To Reproduce This draft PR on the platform-tck has an example of injecting an EntityManager using a custom qualifier specified in the deployment persistence.xml: https://github.com/jakartaee/platform-tck/pull/1623
Expected behavior The deployment succeeds and the
EntityManager
is injected.