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. |
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: