Annotation Interface SQLName


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface SQLName
Placing this annotation on public fields or getter/setter methods on POJOs hints that this field uses a different field or column name in a collection or table.
Author:
Matthew Tropiano
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the column/field name.
  • Element Details

    • value

      String value
      Specifies the column/field name. If not specified, then this uses the default name for the annotated field.
      Returns:
      the column/field name, or the empty string for "default".
      Default:
      ""