Open noahwhite opened 11 years ago
Noah, currently, https://docs.jboss.org/author/display/WFLY8/JPA+Reference+Guide#JPAReferenceGuide-UsingEclipseLink just refers back to https://community.jboss.org/wiki/HowToUseEclipseLinkWithAS7. Which isn't enough.
One of the described issues https://bugs.eclipse.org/bugs/show_bug.cgi?id=414974, is still in need of a patch (not sure if a patch will be accepted by Eclipse but I hope so). The current workaround is to set system property "eclipselink.archive.factory" to value "org.jipijapa.eclipselink.JBossArchiveFactoryImpl". I didn't document this workaround as I don't think it should have to be set (since we also set it in the http://github.com/jipijapa/jipijapa integration code for EclipseLink which sadly is ignored since id=414974 is unsolved).
The WildFly 8 testsuite does some light testing (connect, create an entity in a JTA transaction, read an entity) with EclipseLink (adds resource-root path="eclipselink.jar" entry to modules/system/layers/base/org/eclipse/persistence/main/module.xml and copies the eclipselink.jar jar to the same folder).
I would like to see someone update https://docs.jboss.org/author/display/WFLY8/JPA+Reference+Guide to explain the actual changes needed to get EclipseLink working on WF8. Can you help with that?
https://docs.jboss.org/author/display/WFLY8/JPA+Reference+Guide#JPAReferenceGuide-UsingEclipseLink is updated to have some instructions on getting started with EclipseLink on WildFly8.
These issues may deserve their own repository, migrating-gf-to-wildfly or some such. In any case a How-To that explains the steps required to migrate WildFly from Hibernate to Eclipselink would be very useful. If they could leverage the javaee7-samples that would be a nice bonus too. The only information I've found on this topic so far is this:
https://community.jboss.org/wiki/HowToUseEclipseLinkWithAS7?_sscc=t
and some traffic here:
http://lists.jboss.org/pipermail/wildfly-dev/2013-July/000556.html