Annotation Type Field


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface Field
    Define a structured data type's field name for an object mapped to NoSql data. This is a generic form of the @Column 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 data type's name of the field.
    • Element Detail

      • name

        java.lang.String name
        (Optional) The data type's name of the field.
        Default:
        ""