|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface JoinField
Define a structured data type's foreign key field for an object mapped to NoSql data. This is a generic form of the @JoinColumn annotation, which is not specific to relational databases. It can be use to map EIS and NoSQL data.
NoSql
Optional Element Summary | |
---|---|
java.lang.String |
name
(Optional) The name of the foreign key/id reference field in the source record. |
java.lang.String |
referencedFieldName
(Optional) The name of the id field in the target record. |
public abstract java.lang.String name
public abstract java.lang.String referencedFieldName
|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |