Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | package org.hibernate.annotations; |
2 | |||
3 | /** |
||
4 | * Actoin to use when an element is not found in DB while beeing expected |
||
5 | * |
||
6 | * @author Emmanuel Bernard |
||
7 | */ |
||
8 | public enum NotFoundAction { |
||
9 | /** |
||
10 | * raise an exception when an element is not found (default and recommended) |
||
11 | */ |
||
12 | EXCEPTION, |
||
13 | /** |
||
14 | * ignore the element when not found in DB |
||
15 | */ |
||
16 | IGNORE |
||
17 | } |