The docs for OpenJPA 2.1 show the persistence.xml file below. There is no org.apache.openjpa.persistence.PersistenceProviderImpl class in OpenJPA 2.1, however.
What is the correct PersistenceProvider to use, and what is the correct persistence.xml for OpoenJPA 2.1? http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/docs/manual/main.html <?xml version="1.0"?> <persistence version="1.0"> <persistence-unit name="openjpa"> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> <class>tutorial.Animal</class> <class>tutorial.Dog</class> <class>tutorial.Rabbit</class> <class>tutorial.Snake</class> <properties> <property name="openjpa.ConnectionURL" value="jdbc:hsqldb:tutorial_database"/> <property name="openjpa.ConnectionDriverName" value="org.hsqldb.jdbcDriver"/> <property name="openjpa.ConnectionUserName" value="sa"/> <property name="openjpa.ConnectionPassword" value=""/> <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/> </properties> </persistence-unit> </persistence> -- View this message in context: http://openjpa.208410.n2.nabble.com/No-PersistenceProviderImpl-in-OpenJPA-2-1-error-in-persistence-xml-documentation-tp6369293p6369293.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
