Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents


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


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


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.


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

See Also

For more information, see: