public class SqlSessionFactoryDecorator extends Object implements org.apache.ibatis.session.SqlSessionFactory
Constructor and Description |
---|
SqlSessionFactoryDecorator(org.apache.ibatis.session.SqlSessionFactory delegate) |
Modifier and Type | Method and Description |
---|---|
org.apache.ibatis.session.Configuration |
getConfiguration() |
protected org.apache.ibatis.session.SqlSessionFactory |
getDelegate() |
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) |
public SqlSessionFactoryDecorator(@Nonnull org.apache.ibatis.session.SqlSessionFactory delegate)
@Nonnull protected org.apache.ibatis.session.SqlSessionFactory getDelegate()
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