Annotation Type CreateTimestamp


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

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

    • column

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