I haven't looked at the example, but see if the persistence.xml includes- <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
If it does, either comment out that line or change it to- <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> and try again.... -Donald tornike wrote:
I was trying to run EclipseLink jpa example on Geronimo and couldn't figure out how to setup EclipseLink JAR location. I get the persistence exception: "Could not locate PersistenceProvider class: org.eclipse.persistence.jpa.PersistenceProvider". Can anyone help with example on how to set it up? Thanks
