# 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

2. Use the Persistence XML Editor to edit the `persistence.xml` file.

   Persistence XML Editor

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

The persistence.xml file