Package org.hibernate.annotations
Annotation 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 ElementsOptional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIs the statement callable (aka aCallableStatement)?Deprecated, for removal: This API element is subject to removal in a future version.useverify()with anExpectationclassThe name of the table affected.Class<? extendsExpectation>AnExpectationclass used to verify that the operation was successful.
Element Details
sql
String sqlProcedure name or SQLDELETEstatement.
callable
boolean callableIs the statement callable (aka aCallableStatement)?- Default:
- false
verify
Class<? extendsExpectation> verifyAnExpectationclass used to verify that the operation was successful.- Default:
- org.hibernate.jdbc.Expectation.class
check
Deprecated, for removal: This API element is subject to removal in a future version.useverify()with anExpectationclassAResultCheckStyleused to verify that the operation was successful.- Default:
- NONE
table
String tableThe name of the table affected. Never required.- Returns:
- the name of the secondary table
- Since:
- 6.2
- Default:
- ""