1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package com.ontotext.ordi;
19
20 public enum IsolationLevel {
21
22 /**
23 * A constant indicating that transactions are not supported.
24 */
25 TRANSACTION_NONE,
26
27 /**
28 * A constant indicating that dirty reads are prevented; non-repeatable
29 * reads and phantom reads can occur.
30 */
31 TRANSACTION_READ_COMMITTED,
32
33 /**
34 * A constant indicating that dirty reads, non-repeatable reads and phantom
35 * reads can occur.
36 */
37 TRANSACTION_READ_UNCOMMITTED,
38
39 /**
40 * A constant indicating that dirty reads and non-repeatable reads are
41 * prevented; phantom reads can occur.
42 */
43 TRANSACTION_REPEATABLE_READ,
44
45 /**
46 * A constant indicating that dirty reads, non-repeatable reads and phantom
47 * reads are prevented.
48 */
49 TRANSACTION_SERIALIZABLE
50 }