org.hibernate.annotations
Annotation Type SQLDeleteAll


@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface SQLDeleteAll

SqlDelete Annotation for overwriting Hibernate default DELETE ALL method


Required Element Summary
 String sql
          Procedure name or DELETE STATEMENT
 
Optional Element Summary
 boolean callable
          Is the statement using stored procedure or not
 ResultCheckStyle check
          For persistence operation what style of determining results (success/failure) is to be used.
 

Element Detail

sql

public abstract String sql
Procedure name or DELETE STATEMENT

callable

public abstract boolean callable
Is the statement using stored procedure or not

Default:
false

check

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

Default:
org.hibernate.annotations.ResultCheckStyle.NONE


Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.