@Target(value={ANNOTATION_TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface MapKeyJoinColumns
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| Modifier and Type | Required Element and Description |
|---|---|
MapKeyJoinColumn[] |
value
(Required) The map key join columns that are used to map to the entity that is the map key.
|
| Modifier and Type | Optional Element and Description |
|---|---|
ForeignKey |
foreignKey
(Optional) The foreign key constraint specification for the join columns.
|
public abstract MapKeyJoinColumn[] value
public abstract ForeignKey foreignKey
Copyright © 2020. All rights reserved.