Top Description Methods
org.hibernate.annotations

public @Interface SQLDeleteAll

extends Annotation
Annotations
@Target:TYPE, FIELD, METHOD
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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.
Author
László Benke

Method Summary

Modifier and TypeMethod and Description
public boolean
callable()

Is the statement callable (aka a java.sql.CallableStatement)?

public ResultCheckStyle
check()

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

public String
sql()

Procedure name or SQL DELETE statement.

public String

Returns:

the name of the table
table
()

The name of the table in the case of an entity with secondary tables, defaults to the primary table.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

callableback to summary
public boolean callable()

Is the statement callable (aka a java.sql.CallableStatement)?

checkback to summary
public ResultCheckStyle check()

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

sqlback to summary
public String sql()

Procedure name or SQL DELETE statement.

tableback to summary
public String table()

The name of the table in the case of an entity with secondary tables, defaults to the primary table.

Returns:String

the name of the table

Since
6.2