Working with persistence units (persistence.xml)
You can edit the persistence.xml file with the Persistence XML Editor.
About this task
The persistence.xml file describes the details of the persistence units in your JPA project. A persistence unit contains a list of entity beans.
The Persistence XML editor simplifies making changes to the persistence.xml file:
- Add and remove persistence units.
- Modify the properties of a persistence unit.
- Add and remove classes in a persistence unit.
- Add and remove properties in a persistence unit.
The persistence.xml file is in the META-INF directory of the JPA project.
To edit the persistence.xml file: