|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface MapKeyJoinColumns
Supports composite map keys that reference entities.
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
Required Element Summary | |
---|---|
MapKeyJoinColumn[] |
value
(Required) The map key join columns that are used to map to the entity that is the map key. |
Optional Element Summary | |
---|---|
ForeignKey |
foreignKey
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. |
Element Detail |
---|
public abstract MapKeyJoinColumn[] value
public abstract ForeignKey foreignKey
foreignKey
element of any of the MapKeyJoinColumn
elements are specified, the behavior is undefined. If no
foreign key annotation element is specified in either
location, the persistence provider's default foreign key
strategy will apply.
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |