IntelliJ IDEA 2021.1 Help

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.

ItemDescription
AttributeThe name of the field to be added to the corresponding entity and also the name of the relationship.
MultiplicityThe multiplicity on the corresponding side of the relationship.
OptionalWhether the relationship is optional.
OwnerThe owner of the relationship.
Fetch TypeSee FetchType.
Cascade TypeSee CascadeType.
Last modified: 08 March 2021