Community
Participate
Working Groups
Right now toplink is not default persistence provider in weblogic, but we can set is as default persistence provider when configuring the domain. Here we will config the domain to use toplink as default provider, run jpa/advanced model without <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> in persistence.xml, after that config the domain back to use kodo as provider. The changes will be: 1. create new dir "eclipselink-domaintest-advanced-model" under eclipselink.jpa.test/resource to have advanced model's persistence.xml without <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> entry 2. in eclipselink.jpa.test/build.xml, (1) add <server-domain-setup> and <server-domain-reset> to config weblogic doamin to use toplink as provider, to config weblogic domain back to use kodo as provider (2). add <server-domain-test-advanced> target as for running advanced model without <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> in persistence.xml 3. in eclipselink.jpa.test/weblogic.xml, add <weblogic-domain-setup> and <weblogic-domain-reset> targets to config weblogic domain using toplink and kodo as default persistence provider
Created attachment 178619 [details] patch for verifing toplink as default persistence provider on weblogic
The patch has been changed to remove <server-domain-setup> and <server-domain-reset> targets in build.xml, add "set.eclipselink.as.provider" in weblogic.properties, nest <weblogic-domain-setup> and <weblogic-domain-reset> to <weblogic-setup> and <weblogic-reset> targets. The changes haven been checked in main as revision 8161.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink