Package javax.persistence
Annotation Type MapKeyJoinColumns
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface MapKeyJoinColumnsSupports composite map keys that reference entities.The
MapKeyJoinColumnsannotation groupsMapKeyJoinColumnannotations. When theMapKeyJoinColumnsannotation is used, both thenameand thereferencedColumnNameelements must be specified in each of the groupedMapKeyJoinColumnannotations.- Since:
- Java Persistence 2.0
- See Also:
MapKeyJoinColumn
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description MapKeyJoinColumn[]value(Required) The map key join columns that are used to map to the entity that is the map key.
-
-
-
Element Detail
-
value
MapKeyJoinColumn[] value
(Required) The map key join columns that are used to map to the entity that is the map key.
-
-