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
      String column
      Name of the create timestamp column in the table for this class when this is a surrogate (class-level) column.
    • Element Detail

      • 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"