SQLDelete (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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