public interface TransactionIsolation
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE
A constant indicating that transactions are not supported.
|
static int |
READ_COMMITTED
A constant indicating that
dirty reads are prevented; non-repeatable reads and phantom
reads can occur.
|
static int |
READ_UNCOMMITTED
A constant indicating that
dirty reads, non-repeatable reads and phantom reads can occur.
|
static int |
REPEATABLE_READ
A constant indicating that
dirty reads and non-repeatable reads are prevented; phantom
reads can occur.
|
static int |
SERIALIZABLE
A constant indicating that
dirty reads, non-repeatable reads and phantom reads are prevented.
|
static final int NONE
static final int READ_UNCOMMITTED
static final int READ_COMMITTED
static final int REPEATABLE_READ
static final int SERIALIZABLE
TRANSACTION_REPEATABLE_READ and further prohibits the
situation where one transaction reads all rows that satisfy
a WHERE condition, a second transaction inserts a row that
satisfies that WHERE condition, and the first transaction
rereads for the same condition, retrieving the additional
"phantom" row in the second read.Copyright © 2017. All rights reserved.