5.7. Persistence Descriptor

When creating persistent data objects, the persistence.xml file is created by default when the user opens the project editor and selects Persistence Descriptor. It can then be configured via the Persistence Descriptor. The Persistence Descriptor is accessible by opening the Project Editor, and clicking Project Settings: Project General SettingsPersistence descriptor.

PersistenceXML new

In the Advanced properties section, it is possible to change or delete all the properties generated by default and add new ones as well.


If you open the Project persistable Data Objects section in the Persistence Descriptor, you will see two buttons:

  • Add class enables the user to add arbitrary classes to the persistence.xml file to be declared as entities.
  • Add project persistable classes will automatically load all the persistable data objects in the current project.