org.apache.ibatis.session.defaults
Class DefaultSqlSessionFactory

java.lang.Object
  extended by org.apache.ibatis.session.defaults.DefaultSqlSessionFactory
All Implemented Interfaces:
SqlSessionFactory

public class DefaultSqlSessionFactory
extends Object
implements SqlSessionFactory


Constructor Summary
DefaultSqlSessionFactory(Configuration configuration)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSqlSessionFactory

public DefaultSqlSessionFactory(Configuration configuration)
Method Detail

openSession

public SqlSession openSession()
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(boolean autoCommit)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(ExecutorType execType)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(TransactionIsolationLevel level)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(ExecutorType execType,
                              TransactionIsolationLevel level)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(ExecutorType execType,
                              boolean autoCommit)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(Connection connection)
Specified by:
openSession in interface SqlSessionFactory

openSession

public SqlSession openSession(ExecutorType execType,
                              Connection connection)
Specified by:
openSession in interface SqlSessionFactory

getConfiguration

public Configuration getConfiguration()
Specified by:
getConfiguration in interface SqlSessionFactory


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.