Annotation Type CreateUser


@Target({FIELD,METHOD,TYPE}) @Retention(RUNTIME) public @interface CreateUser
Extension annotation specifying either this field/method or use a surrogate column as storing the creation user for this object. Only applies if specified on a String.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the create user column in the table for this class when this is a surrogate (class-level) column.
    int
    Length of the create user column.
  • Element Details

    • column

      String column
      Name of the create user column in the table for this class when this is a surrogate (class-level) column.
      Returns:
      The create user column name
      Default:
      "CREATE_USER"
    • columnLength

      int columnLength
      Length of the create user column.
      Returns:
      Length of the create user column.
      Default:
      -1