Annotation Type SoftDelete


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface SoftDelete
    Extension annotation allowing for specifying a class as using soft delete, meaning that it will have a surrogate column in its table storing whether it is deleted (rather than deleting it).
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String column
      Name of the soft delete flag column in the table for this class.
    • Element Detail

      • column

        String column
        Name of the soft delete flag column in the table for this class.
        Returns:
        The soft delete column name
        Default:
        "DELETED"