public class DelegatingSqlSessionFactory extends Object implements org.apache.ibatis.session.SqlSessionFactory
Implements the SqlSessionFactory
delegating
to a wrapped SqlSessionFactory
Modifier and Type | Field and Description |
---|---|
protected org.apache.ibatis.session.SqlSessionFactory |
wrappedSessionFactory |
Constructor and Description |
---|
DelegatingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory) |
Modifier and Type | Method and Description |
---|---|
org.apache.ibatis.session.Configuration |
getConfiguration() |
org.apache.ibatis.session.SqlSession |
openSession() |
org.apache.ibatis.session.SqlSession |
openSession(boolean autoCommit) |
org.apache.ibatis.session.SqlSession |
openSession(Connection connection) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
boolean autoCommit) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
Connection connection) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
org.apache.ibatis.session.TransactionIsolationLevel level) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.TransactionIsolationLevel level) |
protected org.apache.ibatis.session.SqlSessionFactory wrappedSessionFactory
public DelegatingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory)
public org.apache.ibatis.session.SqlSession openSession()
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(boolean autoCommit)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(Connection connection)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.TransactionIsolationLevel level)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, boolean autoCommit)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, org.apache.ibatis.session.TransactionIsolationLevel level)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, Connection connection)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
public org.apache.ibatis.session.Configuration getConfiguration()
getConfiguration
in interface org.apache.ibatis.session.SqlSessionFactory
Copyright © 2017. All rights reserved.