jakartaee / platform-tck

Jakartaee-tck
Other
130 stars 109 forks source link

Glassfish 8.x does not support JPA 3.2 qualifier/scope elements of persistence_3.2.xsd #1624

Open starksm64 opened 4 weeks ago

starksm64 commented 4 weeks ago

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.

starksm64 commented 2 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.

https://github.com/eclipse-ee4j/glassfish/pull/25208

edburns commented 2 weeks ago

New issue tracker: https://github.com/eclipse-ee4j/glassfish/pull/25209

arjantijms commented 1 week ago

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.