Class PersistenceProductDerivation

java.lang.Object
org.apache.openjpa.lib.conf.AbstractProductDerivation
org.apache.openjpa.persistence.PersistenceProductDerivation
All Implemented Interfaces:
OpenJPAProductDerivation, ProductDerivation

public class PersistenceProductDerivation extends AbstractProductDerivation implements OpenJPAProductDerivation
Sets JPA specification defaults and parses JPA specification XML files. For globals, looks in openjpa.properties system property for the location of a file to parse. If no system property is defined, the default resource location of META-INF/openjpa.xml is used. For defaults, looks for META-INF/persistence.xml. Within persistence.xml, look for the named persistence unit, or if no name given, an OpenJPA unit (preferring an unnamed OpenJPA unit to a named one).
Author:
Abe White