IntelliJ IDEA 2020.1 Help

Add / Edit Relationship

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

Use this dialog to specify the settings for a relationship.



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.


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.


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 to manage the list.

Last modified: 25 May 2020