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
Modifier and Type Method Description Configuration
getConfiguration()
SqlSession
openSession()
SqlSession
openSession(boolean autoCommit)
SqlSession
openSession(java.sql.Connection connection)
SqlSession
openSession(ExecutorType execType)
SqlSession
openSession(ExecutorType execType, boolean autoCommit)
SqlSession
openSession(ExecutorType execType, java.sql.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(java.sql.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, java.sql.Connection connection)
-
getConfiguration
Configuration getConfiguration()
-
-