Annotation Interface SQLDeleteAll


@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface SQLDeleteAll
Specifies a custom SQL DML statement to be used in place of the default SQL generated by Hibernate when an entire collection is deleted from the database.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Procedure name or SQL DELETE statement.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Is the statement callable (aka a CallableStatement)?
    Deprecated, for removal: This API element is subject to removal in a future version.
    use verify() with an Expectation class
    The name of the table affected.
    Class<? extends Expectation>
    An Expectation class used to verify that the operation was successful.