Annotation Type SQLDelete


@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface SQLDelete
SqlDelete Annotation for overwriting Hibernate default DELETE method
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Procedure name or DELETE STATEMENT
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Is the statement using stored procedure or not
    For persistence operation what style of determining results (success/failure) is to be used.
  • Element Details

    • sql

      String sql
      Procedure name or DELETE STATEMENT
    • callable

      boolean callable
      Is the statement using stored procedure or not
      Default:
      false
    • check

      For persistence operation what style of determining results (success/failure) is to be used.
      Default:
      NONE