Create / Edit Relationship
This dialog opens when you draw or double-click a link between entities on an entity-relationship diagram for a persistence unit or a session factory.
Specify the settings for the relationship.
The left-hand and the right-hand parts are for the two sides of the relationship. For a unidirectional relationship, specify the settings only in one of the parts.
Item | Description |
---|---|
Attribute | The name of the field to be added to the corresponding entity and also the name of the relationship. |
Multiplicity | The multiplicity on the corresponding side of the relationship. |
Optional | Whether the relationship is optional. |
Owner | The owner of the relationship. |
Fetch Type | See FetchType. |
Cascade Type | See CascadeType. |
Last modified: 11 February 2024