Annotation Interface IndexColumn


@Target({METHOD,FIELD}) @Retention(RUNTIME) @Deprecated public @interface IndexColumn
Deprecated.
Prefer the standard JPA OrderColumn annotation, using ListIndexBase instead of base().
Describe an index column of a List.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    The column name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Deprecated.
    The starting index value.
    Deprecated.
    An explicit column definition.
    boolean
    Deprecated.
    Is the column nullable?
  • Element Details

    • name

      String name
      Deprecated.
      The column name.
    • base

      int base
      Deprecated.
      The starting index value. Zero (0) by default, since Lists indexes start at zero (0).
      Default:
      0
    • nullable

      boolean nullable
      Deprecated.
      Is the column nullable?
      Default:
      true
    • columnDefinition

      String columnDefinition
      Deprecated.
      An explicit column definition.
      Default:
      ""