Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


@Field

Use @Field to define a structured data type's field name for an object mapped to NoSql data.


Annotation Elements

Table 2-24 describes this annotation's elements.

Table 2-24 @Field Annotation Elements

Annotation Element Description Default

name

(Optional) The data type's name of the field.




Usage

The @Field annotation is a generic form of the @Column annotation, which is not specific to relational databases. You can use @Field to map EIS and NoSQL data.


Examples

See "@NoSql" for an example of the @Field annotation.


See Also

For more information, see: