Annotation Interface Column


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface Column
Mapping a class's field to a database column is often necessary to specify the name of the database column.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specify the name of the table column.
  • Element Details

    • value

      String value
      Specify the name of the table column.
      Returns:
      Column name of the table.
      Default:
      ""