javax.persistence
Annotation Type MapKeyJoinColumns
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface MapKeyJoinColumns
Composite map keys referencing entities are supported by means of the MapKeyJoinColumns anno- tation. The MapKeyJoinColumns
annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name and the
referencedCol- umnName elements must be specified in each of the grouped MapKeyJoinColumn annotations.
- Since:
- JPA 2.0 version.
- Author:
- Florent Benoit
- See Also:
- JPA 2.0 specification
|
Required Element Summary |
MapKeyJoinColumn[] |
value
(Required) The map key join columns that are used to map to the entity that is the map key. |
value
public abstract MapKeyJoinColumn[] value
- (Required) The map key join columns that are used to map to the entity that is the map key.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.