Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: OptimisticLockType.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | /** |
||
5 | * Optimistic locking strategy |
||
6 | * VERSION is the default and recommanded one |
||
7 | * |
||
8 | * @author Emmanuel Bernard |
||
9 | */ |
||
10 | public enum OptimisticLockType { |
||
11 | /** |
||
12 | * no optimistic locking |
||
13 | */ |
||
14 | NONE, |
||
15 | /** |
||
16 | * use a column version |
||
17 | */ |
||
18 | VERSION, |
||
19 | /** |
||
20 | * dirty columns are compared |
||
21 | */ |
||
22 | DIRTY, |
||
23 | /** |
||
24 | * all columns are compared |
||
25 | */ |
||
26 | ALL |
||
27 | } |