Create and Manage the persistence.xml file

When creating a JPA project, Dali automatically creates the perssistence.xml file.

JPA Project with persistence.xml File

JPA project with persistence.xml file.

Use the XML editor to edit the persistence.xml file.

After adding your JPA entities, use the Java Persistence > Synchronize Classes option to add the classes to the persistence.xml file.

Synchronizing the persistence.xml File.

The JPA Tools > Synchronize Classes option.
Related concept

What's new