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.
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 persisteable Data Objects section in the Persistence Descriptor, you will see that there are two available 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 persisteable data objects in the current project.