Hello,

  I've add a provider property in my jndi.properties file to avoid using
openjpa provider:
# override properties of the "educaPU" persistence unit
educaPU.provider = org.eclipse.persistence.jpa.PersistenceProvider
educaPU.jta-data-source = educaDatabase
educaPU.non-jta-data-source = educaDatabase
educaPU.eclipselink.target-database =
org.eclipse.persistence.platform.database.HSQLPlatform
educaPU.eclipselink.ddl-generation = drop-and-create-tables
educaPU.eclipselink.ddl-generation.output-mode = both


But I still see OpenJPA as a provider:
INFO - PersistenceUnit(name=educaPU,
provider=org.apache.openjpa.persistence.PersistenceProviderImpl)


So how can I do to enforce the use of eclipselink ?
Thanks

-- 
View this message in context: 
http://www.nabble.com/override-the-persistence-unit-provider-property-tp26017009p26017009.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to