Uses of Enum
org.h2.engine.IsolationLevel
Packages that use IsolationLevel
Package
Description
Contains DML (data manipulation language) and related SQL statements.
Contains high level classes of the database and classes that don't fit in another sub-package.
Helper classes to use the MVStore in a transactional manner.
-
Uses of IsolationLevel in org.h2.command.dml
Fields in org.h2.command.dml declared as IsolationLevelModifier and TypeFieldDescriptionprivate final IsolationLevel
SetSessionCharacteristics.isolationLevel
Constructors in org.h2.command.dml with parameters of type IsolationLevelModifierConstructorDescriptionSetSessionCharacteristics
(SessionLocal session, IsolationLevel isolationLevel) -
Uses of IsolationLevel in org.h2.engine
Fields in org.h2.engine declared as IsolationLevelModifier and TypeFieldDescriptionprivate IsolationLevel
SessionLocal.isolationLevel
Isolation level.Methods in org.h2.engine that return IsolationLevelModifier and TypeMethodDescriptionstatic 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
Returns the isolation level from its SQL name.abstract IsolationLevel
Session.getIsolationLevel()
Returns the isolation level.SessionLocal.getIsolationLevel()
SessionRemote.getIsolationLevel()
static IsolationLevel
Returns the enum constant of this type with the specified name.static IsolationLevel[]
IsolationLevel.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.h2.engine with parameters of type IsolationLevelModifier and TypeMethodDescriptionabstract void
Session.setIsolationLevel
(IsolationLevel isolationLevel) Sets the isolation level.void
SessionLocal.setIsolationLevel
(IsolationLevel isolationLevel) void
SessionRemote.setIsolationLevel
(IsolationLevel isolationLevel) -
Uses of IsolationLevel in org.h2.mvstore.tx
Fields in org.h2.mvstore.tx declared as IsolationLevelModifier and TypeFieldDescription(package private) final IsolationLevel
Transaction.isolationLevel
The current isolation level.Methods in org.h2.mvstore.tx that return IsolationLevelModifier and TypeMethodDescriptionTransaction.getIsolationLevel()
Returns the isolation level of this transaction.Methods in org.h2.mvstore.tx with parameters of type IsolationLevelModifier and TypeMethodDescriptionTransactionStore.begin
(TransactionStore.RollbackListener listener, int timeoutMillis, int ownerId, IsolationLevel isolationLevel) Begin a new transaction.private Transaction
TransactionStore.registerTransaction
(int txId, int status, String name, long logId, int timeoutMillis, int ownerId, IsolationLevel isolationLevel, TransactionStore.RollbackListener listener) Constructors in org.h2.mvstore.tx with parameters of type IsolationLevelModifierConstructorDescription(package private)
Transaction
(TransactionStore store, int transactionId, long sequenceNum, int status, String name, long logId, int timeoutMillis, int ownerId, IsolationLevel isolationLevel, TransactionStore.RollbackListener listener)