IntelliJ IDEA 2018.2 Help

Add / Edit Relationship

From the Import Database Schema dialog: icons general add or icons actions edit svg in the Database Schema Mapping section.


Use this dialog to specify the settings for a relationship.

Item

Description

Source / Target

Within the relationship, one of the entities (the left-hand one) is referred to as a source and the other one as a target.

Table

The corresponding database table.

Attribute name

The name of the field to be added to the corresponding entity and also the name of the relationship.

Type

The Java type for the corresponding field.

Map Key Column

Select the desired column name from the drop-down list.

Join Table

The join table if used.

Join Columns

Joined table columns for the relationship.

Use icons general add and icons general remove svg to manage the list.

Last modified: 25 October 2018

See Also