org.hibernate.annotations
Annotation Type SQLDelete


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

SqlDelete Annotation for overwriting Hibernate default DELETE 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-2012 Red Hat, Inc. All Rights Reserved.