Class DefaultSqlSessionFactory
java.lang.Object
org.apache.ibatis.session.defaults.DefaultSqlSessionFactory
- All Implemented Interfaces:
SqlSessionFactory
public class DefaultSqlSessionFactory extends Object implements SqlSessionFactory
- Author:
- Clinton Begin
-
Constructor Summary
Constructors Constructor Description DefaultSqlSessionFactory(Configuration configuration)
-
Method Summary
Modifier and Type Method Description Configuration
getConfiguration()
SqlSession
openSession()
SqlSession
openSession(boolean autoCommit)
SqlSession
openSession(Connection connection)
SqlSession
openSession(ExecutorType execType)
SqlSession
openSession(ExecutorType execType, boolean autoCommit)
SqlSession
openSession(ExecutorType execType, Connection connection)
SqlSession
openSession(ExecutorType execType, TransactionIsolationLevel level)
SqlSession
openSession(TransactionIsolationLevel level)
-
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
-