You can work with the persistence.xml by using the XML Editor.
persistence.xml
Use this procedure to work with the persistence.xml file:
Right-click the persistence.xml file in the Package Explorer and select Open With > XML Editor.
Opening the XML Editor
Use the XML Editor to edit the persistence.xml file.
XML Editor