Property page – JPA Diagram Editor Options

This table lists the properties available in the JPA Diagram Editor settings page.

Property Description
Folder for diagrams Specify the folder where the diagram.xmi file will be created.
Default Java Package Specify the java package where the entities will be created by default.
Default table name prefix Specify the prefix with which the tables will be created by default.
Editing entity name Determine if the editing of the entity name in the diagram should affect the class name in the source file.
Entity access type Select an entity access type.

To add annotations on the field level choose Field-based.

To add annotations on the property level choose Property-based.

Default collection type Select a collection type of which the relation attributes to be created by default:

Choose java.util.Collection, so that the relation attributes to be of type Collection.

One-to-Many unidirectional old style relationship Specify if the old style One-to-Many unidirectional relationship (supported by JPA 1.0) to be used.