Class DelegatingSqlSessionFactory
java.lang.Object
org.camunda.bpm.qa.performance.engine.util.DelegatingSqlSessionFactory
- All Implemented Interfaces:
org.apache.ibatis.session.SqlSessionFactory
- Direct Known Subclasses:
StatementLogSqlSessionFactory
public class DelegatingSqlSessionFactory
extends Object
implements org.apache.ibatis.session.SqlSessionFactory
Implements the SqlSessionFactory
delegating
to a wrapped SqlSessionFactory
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.ibatis.session.SqlSessionFactory
-
Constructor Summary
ConstructorDescriptionDelegatingSqlSessionFactory
(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ibatis.session.Configuration
org.apache.ibatis.session.SqlSession
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)
-
Field Details
-
wrappedSessionFactory
protected org.apache.ibatis.session.SqlSessionFactory wrappedSessionFactory
-
-
Constructor Details
-
DelegatingSqlSessionFactory
public DelegatingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory)
-
-
Method Details
-
openSession
public org.apache.ibatis.session.SqlSession openSession()- Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(boolean autoCommit) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
- Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.TransactionIsolationLevel level) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, boolean autoCommit) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, org.apache.ibatis.session.TransactionIsolationLevel level) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, Connection connection) - Specified by:
openSession
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-
getConfiguration
public org.apache.ibatis.session.Configuration getConfiguration()- Specified by:
getConfiguration
in interfaceorg.apache.ibatis.session.SqlSessionFactory
-