Working with persistence.xml file


You can work with the persistence.xml by using the Persistence XML Editor.

Use this procedure to work with the persistence.xml file:

  1. Right-click the persistence.xml file in the Package Explorer and select Open With > Persistence XML Editor.

    Opening the Persistence XML Editor

    This figure shows the Open > Persistence XML Editor option for the persistence.xml file.
  2. Use the Persistence XML Editor to edit the persistence.xml file.

    Persistence XML Editor

    This figure shows the Persistence XML Editor.

Related task

Working with persistence.xml file
Working with XML Files
Adding persistence to a Java project

 

Related concept

The persistence.xml file