Package org.apache.ibatis.session
Interface SqlSessionFactory
-
- All Known Implementing Classes:
DefaultSqlSessionFactory
,SqlSessionManager
public interface SqlSessionFactory
Creates anSqlSession
out of a connection or a DataSource- Author:
- Clinton Begin
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
-
-
-
Method Detail
-
openSession
SqlSession openSession()
-
openSession
SqlSession openSession(boolean autoCommit)
-
openSession
SqlSession openSession(Connection connection)
-
openSession
SqlSession openSession(TransactionIsolationLevel level)
-
openSession
SqlSession openSession(ExecutorType execType)
-
openSession
SqlSession openSession(ExecutorType execType, boolean autoCommit)
-
openSession
SqlSession openSession(ExecutorType execType, TransactionIsolationLevel level)
-
openSession
SqlSession openSession(ExecutorType execType, Connection connection)
-
getConfiguration
Configuration getConfiguration()
-
-