Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | package org.hibernate.annotations; |
2 | |||
3 | /** |
||
4 | * Enumeration extending javax.persistence flush modes. |
||
5 | * |
||
6 | * @author Carlos González-Cadenas |
||
7 | */ |
||
8 | |||
9 | public enum FlushModeType { |
||
10 | /** |
||
11 | * see {@link org.hibernate.FlushMode.ALWAYS} |
||
12 | */ |
||
13 | ALWAYS, |
||
14 | /** |
||
15 | * see {@link org.hibernate.FlushMode.AUTO} |
||
16 | */ |
||
17 | AUTO, |
||
18 | /** |
||
19 | * see {@link org.hibernate.FlushMode.COMMIT} |
||
20 | */ |
||
21 | COMMIT, |
||
22 | /** |
||
23 | * see {@link org.hibernate.FlushMode.NEVER} |
||
24 | * @deprecated use MANUAL, will be removed in a subsequent release |
||
25 | */ |
||
26 | NEVER, |
||
27 | /** |
||
28 | * see {@link org.hibernate.FlushMode.MANUAL} |
||
29 | */ |
||
30 | MANUAL, |
||
31 | |||
32 | /** |
||
33 | * Current flush mode of the persistence context at the time the query is executed |
||
34 | */ |
||
35 | PERSISTENCE_CONTEXT |
||
36 | } |