Annotation Type IndexColumn


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

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

      Optional Elements 
      Modifier and Type Optional Element Description
      int base
      Deprecated.
      The starting index value.
      java.lang.String columnDefinition
      Deprecated.
      An explicit column definition.
      boolean nullable
      Deprecated.
      Is the column nullable?
    • Element Detail

      • name

        java.lang.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

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