| Package | Description |
|---|---|
| org.apache.ibatis.session |
Base package.
|
| org.apache.ibatis.session.defaults |
Default impl for SqlSession.
|
| org.apache.ibatis.transaction |
Base package for transactions.
|
| org.apache.ibatis.transaction.jdbc |
JDBC transaction.
|
| org.apache.ibatis.transaction.managed |
External transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionIsolationLevel |
TransactionIsolationLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolationLevel[] |
TransactionIsolationLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
SqlSession |
SqlSessionManager.openSession(ExecutorType execType,
TransactionIsolationLevel level) |
SqlSession |
SqlSessionFactory.openSession(ExecutorType execType,
TransactionIsolationLevel level) |
SqlSession |
SqlSessionManager.openSession(TransactionIsolationLevel level) |
SqlSession |
SqlSessionFactory.openSession(TransactionIsolationLevel level) |
void |
SqlSessionManager.startManagedSession(ExecutorType execType,
TransactionIsolationLevel level) |
void |
SqlSessionManager.startManagedSession(TransactionIsolationLevel level) |
| Modifier and Type | Method and Description |
|---|---|
SqlSession |
DefaultSqlSessionFactory.openSession(ExecutorType execType,
TransactionIsolationLevel level) |
SqlSession |
DefaultSqlSessionFactory.openSession(TransactionIsolationLevel level) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
TransactionFactory.newTransaction(DataSource dataSource,
TransactionIsolationLevel level,
boolean autoCommit)
Creates a
Transaction out of a datasource. |
| Modifier and Type | Field and Description |
|---|---|
protected TransactionIsolationLevel |
JdbcTransaction.level |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
JdbcTransactionFactory.newTransaction(DataSource ds,
TransactionIsolationLevel level,
boolean autoCommit) |
| Constructor and Description |
|---|
JdbcTransaction(DataSource ds,
TransactionIsolationLevel desiredLevel,
boolean desiredAutoCommit) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
ManagedTransactionFactory.newTransaction(DataSource ds,
TransactionIsolationLevel level,
boolean autoCommit) |
| Constructor and Description |
|---|
ManagedTransaction(DataSource ds,
TransactionIsolationLevel level,
boolean closeConnection) |
Copyright © 2009–2021 MyBatis.org. All rights reserved.