Class DefaultSqlSessionFactory
java.lang.Object
org.apache.ibatis.session.defaults.DefaultSqlSessionFactory
- All Implemented Interfaces:
SqlSessionFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private TransactionFactory
getTransactionFactoryFromEnvironment
(Environment environment) openSession
(boolean autoCommit) openSession
(Connection connection) openSession
(ExecutorType execType) openSession
(ExecutorType execType, boolean autoCommit) openSession
(ExecutorType execType, Connection connection) openSession
(ExecutorType execType, TransactionIsolationLevel level) private SqlSession
openSessionFromConnection
(ExecutorType execType, Connection connection) private SqlSession
openSessionFromDataSource
(ExecutorType execType, TransactionIsolationLevel level, boolean autoCommit)
-
Field Details
-
configuration
-
-
Constructor Details
-
DefaultSqlSessionFactory
-
-
Method Details
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSqlSessionFactory
-
getConfiguration
- Specified by:
getConfiguration
in interfaceSqlSessionFactory
-
openSessionFromDataSource
private SqlSession openSessionFromDataSource(ExecutorType execType, TransactionIsolationLevel level, boolean autoCommit) -
openSessionFromConnection
-
getTransactionFactoryFromEnvironment
-
closeTransaction
-