-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
27.0.0.Alpha2
-
---
-
---
the module descriptor for the org.eclipse.persistence module is:
<module name="org.eclipse.persistence" xmlns="urn:jboss:module:1.9"> <properties> <property name="jboss.api" value="public"/> </properties> <resources> <resource-root path="jipijapa-eclipselink-jakarta-27.0.0.Alpha2.jar"/> </resources> <dependencies> <module name="java.logging"/> <module name="java.management"/> <module name="java.naming"/> <module name="javax.annotation.api"/> <module name="javax.enterprise.api"/> <module name="javax.json.api" optional="true"/> <module name="javax.persistence.api"/> <module name="javax.transaction.api"/> <module name="javax.validation.api"/> <module name="javax.xml.bind.api"/> <module name="org.antlr"/> <module name="org.jboss.as.jpa.spi"/> <module name="org.jboss.logging"/> <module name="org.jboss.vfs"/> </dependencies> </module>
apart from updating javax dependencies to their jakarta counterparts, org.antlr can be removed (unless some jboss module needs that) and few dependencies on java modules should be added.
The configuration I currently use and so far works for me - as of 27.Alpha2 - is:
<resources> <resource-root path="jipijapa-eclipselink-jakarta-27.0.0.Alpha2.jar"/> <resource-root path="org.eclipse.persistence.asm.jar"/> <resource-root path="org.eclipse.persistence.core.jar"/> <resource-root path="org.eclipse.persistence.jpa.jar"/> <resource-root path="org.eclipse.persistence.jpa.jpql.jar"/> </resources> <dependencies> <module name="java.desktop"/> <module name="java.instrument"/> <module name="java.logging"/> <module name="java.management"/> <module name="java.naming"/> <module name="java.rmi"/> <module name="java.xml"/> <module name="jdk.unsupported"/> <module name="jakarta.annotation.api"/> <module name="jakarta.enterprise.api"/> <module name="jakarta.json.api" optional="true"/> <module name="jakarta.persistence.api"/> <module name="jakarta.transaction.api"/> <module name="jakarta.validation.api"/> <module name="jakarta.xml.bind.api"/> <module name="org.jboss.as.jpa.spi"/> <module name="org.jboss.logging"/> <module name="org.jboss.vfs"/> </dependencies>
...the list may be incomplete for full eclipselink.jar but I'm not there with my testing yet