Table of Contents |
---|
Overview
The persistence.xml file describes persistence units. It is the deployment descriptor file for persistence using Java Persistence API (JPA). It is used to declare the following.
...
- Within the root of the persistence unit.
- Can be specified by reference in the persistence.xml by naming the classes, archives, or mapping XML files
that are accessible on the application classpath. - Some combinations of the above methods.
Packaging
The persistence.xml file is placed in the META-INF directory of the root of the persistence unit.
Schema
The schema of the persistence.xml is at this link. Apache geronimo uses OpenJPA as the JPA provider.