Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | package org.hibernate.annotations; |
2 | |||
3 | import static java.lang.annotation.ElementType.*; |
||
4 | import java.lang.annotation.Retention; |
||
5 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
6 | import java.lang.annotation.Target; |
||
7 | |||
8 | |||
9 | /** |
||
10 | * Strategy to use on collections, arrays and on joined subclasses delete |
||
11 | * OnDelete of secondary tables currently not supported. |
||
12 | * |
||
13 | * @author Emmanuel Bernard |
||
14 | */ |
||
15 | @Target({METHOD, FIELD, TYPE}) |
||
16 | @Retention(RUNTIME) |
||
17 | public @interface OnDelete { |
||
18 | OnDeleteAction action(); |
||
19 | } |