Annotation Type ColumnDefinition


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Column
    public @interface ColumnDefinition
    Allow to specify information about a column to generate the schema.
    Author:
    Guillaume Le Cousin
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      long max
      Maximum value or length.
      long min
      Minimum value or length.
      boolean nullable
      Defines is the column may contain NULL or not.
      int precision
      Floating-point precision.
      int scale
      Floating-point scale.
      boolean updatable
      Defines if the value may be updated or not.
    • Element Detail

      • nullable

        boolean nullable
        Defines is the column may contain NULL or not.
        Default:
        true
      • updatable

        boolean updatable
        Defines if the value may be updated or not.
        Default:
        true
      • min

        long min
        Minimum value or length.
        Default:
        0L
      • max

        long max
        Maximum value or length.
        Default:
        -1L
      • precision

        int precision
        Floating-point precision.
        Default:
        -1
      • scale

        int scale
        Floating-point scale.
        Default:
        -1