IsolationLevel
Level of isolation.
Methods |
static IsolationLevel |
fromJdbc(int level)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
fromJdbc(int level)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
Parameters:
level - the LOCK_MODE value
Returns:
the isolation level
|
static IsolationLevel |
fromLockMode(int lockMode)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
|
static IsolationLevel |
fromLockMode(int lockMode)
Returns the isolation level from LOCK_MODE equivalent for PageStore and
old versions of H2.
Parameters:
lockMode - the LOCK_MODE value
Returns:
the isolation level
|
static IsolationLevel |
fromSql(String sql)
Returns the isolation level from its SQL name.
|
static IsolationLevel |
fromSql(String sql)
Returns the isolation level from its SQL name.
Parameters:
sql - the SQL name
Returns:
the isolation level from its SQL name
|
static IsolationLevel |
valueOf(String name)
|
static IsolationLevel |
valueOf(String name)
|
static IsolationLevel[] |
values()
|
static IsolationLevel[] |
values()
|
boolean |
allowNonRepeatableRead()
Returns whether a non-repeatable read phenomena is allowed.
|
boolean |
allowNonRepeatableRead()
Returns whether a non-repeatable read phenomena is allowed.
Returns:
whether a non-repeatable read phenomena is allowed
|
int |
getJdbc()
Returns the JDBC constant for this isolation level.
|
int |
getJdbc()
Returns the JDBC constant for this isolation level.
Returns:
the JDBC constant for this isolation level
|
int |
getLockMode()
Returns the LOCK_MODE equivalent for PageStore and old versions of H2.
|
int |
getLockMode()
Returns the LOCK_MODE equivalent for PageStore and old versions of H2.
Returns:
the LOCK_MODE equivalent
|
String |
getSQL()
Returns the SQL representation of this isolation level.
|
String |
getSQL()
Returns the SQL representation of this isolation level.
Returns:
SQL representation of this isolation level
|
|