| 程序包 | 说明 |
|---|---|
| org.h2.command.dml |
Contains DML (data manipulation language) and related SQL statements.
|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.mvstore.tx |
Helper classes to use the MVStore in a transactional manner.
|
| 构造器和说明 |
|---|
SetSessionCharacteristics(SessionLocal session,
IsolationLevel isolationLevel) |
SetSessionCharacteristics(SessionLocal session,
IsolationLevel isolationLevel) |
| 限定符和类型 | 方法和说明 |
|---|---|
static IsolationLevel |
IsolationLevel.fromJdbc(int level)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
IsolationLevel.fromJdbc(int level)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
IsolationLevel.fromLockMode(int lockMode)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
IsolationLevel.fromLockMode(int lockMode)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
IsolationLevel.fromSql(String sql)
Returns the isolation level from its SQL name.
|
static IsolationLevel |
IsolationLevel.fromSql(String sql)
Returns the isolation level from its SQL name.
|
abstract IsolationLevel |
Session.getIsolationLevel()
Returns the isolation level.
|
IsolationLevel |
SessionLocal.getIsolationLevel() |
IsolationLevel |
SessionRemote.getIsolationLevel() |
IsolationLevel |
SessionRemote.getIsolationLevel() |
IsolationLevel |
SessionLocal.getIsolationLevel() |
abstract IsolationLevel |
Session.getIsolationLevel()
Returns the isolation level.
|
static IsolationLevel |
IsolationLevel.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static IsolationLevel |
IsolationLevel.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static IsolationLevel[] |
IsolationLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
static IsolationLevel[] |
IsolationLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Session.setIsolationLevel(IsolationLevel isolationLevel)
Sets the isolation level.
|
void |
SessionLocal.setIsolationLevel(IsolationLevel isolationLevel) |
void |
SessionRemote.setIsolationLevel(IsolationLevel isolationLevel) |
void |
SessionRemote.setIsolationLevel(IsolationLevel isolationLevel) |
void |
SessionLocal.setIsolationLevel(IsolationLevel isolationLevel) |
abstract void |
Session.setIsolationLevel(IsolationLevel isolationLevel)
Sets the isolation level.
|
| 限定符和类型 | 方法和说明 |
|---|---|
IsolationLevel |
Transaction.getIsolationLevel()
Returns the isolation level of this transaction.
|
IsolationLevel |
Transaction.getIsolationLevel()
Returns the isolation level of this transaction.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction |
TransactionStore.begin(TransactionStore.RollbackListener listener,
int timeoutMillis,
int ownerId,
IsolationLevel isolationLevel)
Begin a new transaction.
|
Transaction |
TransactionStore.begin(TransactionStore.RollbackListener listener,
int timeoutMillis,
int ownerId,
IsolationLevel isolationLevel)
Begin a new transaction.
|
Copyright © 2022. All rights reserved.