| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| public static final IsolationLevel | READ_COMMITTED
Dirty reads aren't allowed; non-repeatable reads and phantom reads are allowed. |
| public static final IsolationLevel | READ_UNCOMMITTED
Dirty reads, non-repeatable reads and phantom reads are allowed. |
| public static final IsolationLevel | REPEATABLE_READ
Dirty reads and non-repeatable reads aren't allowed; phantom reads are allowed. |
| public static final IsolationLevel | SERIALIZABLE
Dirty reads, non-repeatable reads and phantom reads are'n allowed. |
| public static final IsolationLevel | SNAPSHOT
Dirty reads, non-repeatable reads and phantom reads are'n allowed. |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether a non-repeatable read phenomena is allowedReturns whether a non-repeatable read phenomena is allowed. |
| public static IsolationLevel | Returns: the isolation levelthe LOCK_MODE value level)Returns the isolation level from LOCK_MODE equivalent for PageStore and old versions of H2. |
| public static IsolationLevel | Returns: the isolation levelthe LOCK_MODE value lockMode)Returns the isolation level from LOCK_MODE equivalent for PageStore and old versions of H2. |
| public static IsolationLevel | |
| public int | Returns: the JDBC constant for this isolation levelReturns the JDBC constant for this isolation level. |
| public int | Returns: the LOCK_MODE equivalentReturns the LOCK_MODE equivalent for PageStore and old versions of H2. |
| public String | Returns: SQL representation of this isolation levelReturns the SQL representation of this isolation level. |
| public static IsolationLevel | |
| public static IsolationLevel[] |
| jdbc | back to summary |
|---|---|
| private final int jdbc | |
| lockMode | back to summary |
|---|---|
| private final int lockMode | |
| READ_COMMITTED | back to summary |
|---|---|
| public static final IsolationLevel READ_COMMITTED Dirty reads aren't allowed; non-repeatable reads and phantom reads are allowed. | |
| READ_UNCOMMITTED | back to summary |
|---|---|
| public static final IsolationLevel READ_UNCOMMITTED Dirty reads, non-repeatable reads and phantom reads are allowed. | |
| REPEATABLE_READ | back to summary |
|---|---|
| public static final IsolationLevel REPEATABLE_READ Dirty reads and non-repeatable reads aren't allowed; phantom reads are allowed. | |
| SERIALIZABLE | back to summary |
|---|---|
| public static final IsolationLevel SERIALIZABLE Dirty reads, non-repeatable reads and phantom reads are'n allowed. Concurrent and serial execution of transactions with this isolation level should have the same effect. | |
| SNAPSHOT | back to summary |
|---|---|
| public static final IsolationLevel SNAPSHOT Dirty reads, non-repeatable reads and phantom reads are'n allowed. | |
| sql | back to summary |
|---|---|
| private final String sql | |
| IsolationLevel | back to summary |
|---|---|
| private IsolationLevel(int jdbc, int lockMode) | |
| allowNonRepeatableRead | back to summary |
|---|---|
| public boolean allowNonRepeatableRead() Returns whether a non-repeatable read phenomena is allowed.
| |
| fromJdbc | back to summary |
|---|---|
| public static IsolationLevel fromJdbc(int level) Returns the isolation level from LOCK_MODE equivalent for PageStore and old versions of H2.
| |
| fromLockMode | back to summary |
|---|---|
| public static IsolationLevel fromLockMode(int lockMode) Returns the isolation level from LOCK_MODE equivalent for PageStore and old versions of H2.
| |
| fromSql | back to summary |
|---|---|
| public static IsolationLevel fromSql(String sql) Returns the isolation level from its SQL name.
| |
| getJdbc | back to summary |
|---|---|
| public int getJdbc() Returns the JDBC constant for this isolation level.
| |
| getLockMode | back to summary |
|---|---|
| public int getLockMode() Returns the LOCK_MODE equivalent for PageStore and old versions of H2.
| |
| getSQL | back to summary |
|---|---|
| public String getSQL() Returns the SQL representation of this isolation level.
| |
| valueOf | back to summary |
|---|---|
| public static IsolationLevel valueOf(String name) | |
| values | back to summary |
|---|---|
| public static IsolationLevel[] values() | |