Annotation Type JoinField
-
@Target({METHOD,FIELD}) @Retention(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.- See Also:
NoSql
- Author:
- James Sutherland
- Since:
- EclipseLink 2.4
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description 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.
-