The MapKeyJoinColumns annotation groups
MapKeyJoinColumn annotations. When the
MapKeyJoinColumns annotation is used, both the
name and the referencedColumnName
elements must be specified in each of the grouped
MapKeyJoinColumn annotations.
MapKeyJoinColumn, ForeignKey
| Modifier and Type | Method and Description |
|---|---|
| public ForeignKey | foreignKey()
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. |
| public MapKeyJoinColumn[] |
| foreignKey | back to summary |
|---|---|
| public ForeignKey foreignKey() (Optional) Used to specify or control the generation of a
foreign key constraint when table generation is in effect.
If both this element and the
| |
| value | back to summary |
|---|---|
| public MapKeyJoinColumn[] value() (Required) The map key join columns that are used to map to the entity that is the map key. | |