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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConfiguration()SqlSessionopenSession()SqlSessionopenSession(boolean autoCommit)SqlSessionopenSession(Connection connection)SqlSessionopenSession(ExecutorType execType)SqlSessionopenSession(ExecutorType execType, boolean autoCommit)SqlSessionopenSession(ExecutorType execType, Connection connection)SqlSessionopenSession(ExecutorType execType, TransactionIsolationLevel level)SqlSessionopenSession(TransactionIsolationLevel level) 
 - 
 
- 
- 
Constructor Detail
- 
DefaultSqlSessionFactory
public DefaultSqlSessionFactory(Configuration configuration)
 
 - 
 
- 
Method Detail
- 
openSession
public SqlSession openSession()
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(boolean autoCommit)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(ExecutorType execType)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(TransactionIsolationLevel level)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(ExecutorType execType, TransactionIsolationLevel level)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(ExecutorType execType, boolean autoCommit)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(Connection connection)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
openSession
public SqlSession openSession(ExecutorType execType, Connection connection)
- Specified by:
 openSessionin interfaceSqlSessionFactory
 
- 
getConfiguration
public Configuration getConfiguration()
- Specified by:
 getConfigurationin interfaceSqlSessionFactory
 
 - 
 
 -