Class DelegatingSqlSession
java.lang.Object
org.camunda.bpm.qa.performance.engine.util.DelegatingSqlSession
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.ibatis.session.SqlSession
- Direct Known Subclasses:
StatementLogSqlSession
Implementation of SqlSession
delegating to a wrapped session
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
commit()
void
commit
(boolean force) int
int
List<org.apache.ibatis.executor.BatchResult>
org.apache.ibatis.session.Configuration
<T> T
int
int
void
rollback()
void
rollback
(boolean force) void
void
select
(String statement, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler handler) void
<T> org.apache.ibatis.cursor.Cursor<T>
<T> org.apache.ibatis.cursor.Cursor<T>
selectCursor
(String s, Object o) <T> org.apache.ibatis.cursor.Cursor<T>
selectCursor
(String s, Object o, org.apache.ibatis.session.RowBounds rowBounds) <E> List<E>
selectList
(String statement) <E> List<E>
selectList
(String statement, Object parameter) <E> List<E>
selectList
(String statement, Object parameter, org.apache.ibatis.session.RowBounds rowBounds) <K,
V> Map<K, V> <K,
V> Map<K, V> selectMap
(String statement, Object parameter, String mapKey, org.apache.ibatis.session.RowBounds rowBounds) <K,
V> Map<K, V> <T> T
<T> T
int
int
-
Field Details
-
wrappedSession
protected org.apache.ibatis.session.SqlSession wrappedSession
-
-
Constructor Details
-
DelegatingSqlSession
public DelegatingSqlSession(org.apache.ibatis.session.SqlSession wrappedSession)
-
-
Method Details
-
selectOne
- Specified by:
selectOne
in interfaceorg.apache.ibatis.session.SqlSession
-
selectOne
- Specified by:
selectOne
in interfaceorg.apache.ibatis.session.SqlSession
-
selectList
- Specified by:
selectList
in interfaceorg.apache.ibatis.session.SqlSession
-
selectList
- Specified by:
selectList
in interfaceorg.apache.ibatis.session.SqlSession
-
selectList
public <E> List<E> selectList(String statement, Object parameter, org.apache.ibatis.session.RowBounds rowBounds) - Specified by:
selectList
in interfaceorg.apache.ibatis.session.SqlSession
-
selectMap
- Specified by:
selectMap
in interfaceorg.apache.ibatis.session.SqlSession
-
selectMap
- Specified by:
selectMap
in interfaceorg.apache.ibatis.session.SqlSession
-
selectMap
public <K,V> Map<K,V> selectMap(String statement, Object parameter, String mapKey, org.apache.ibatis.session.RowBounds rowBounds) - Specified by:
selectMap
in interfaceorg.apache.ibatis.session.SqlSession
-
selectCursor
- Specified by:
selectCursor
in interfaceorg.apache.ibatis.session.SqlSession
-
selectCursor
- Specified by:
selectCursor
in interfaceorg.apache.ibatis.session.SqlSession
-
selectCursor
public <T> org.apache.ibatis.cursor.Cursor<T> selectCursor(String s, Object o, org.apache.ibatis.session.RowBounds rowBounds) - Specified by:
selectCursor
in interfaceorg.apache.ibatis.session.SqlSession
-
select
public void select(String statement, Object parameter, org.apache.ibatis.session.ResultHandler handler) - Specified by:
select
in interfaceorg.apache.ibatis.session.SqlSession
-
select
- Specified by:
select
in interfaceorg.apache.ibatis.session.SqlSession
-
select
public void select(String statement, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler handler) - Specified by:
select
in interfaceorg.apache.ibatis.session.SqlSession
-
insert
- Specified by:
insert
in interfaceorg.apache.ibatis.session.SqlSession
-
insert
- Specified by:
insert
in interfaceorg.apache.ibatis.session.SqlSession
-
update
- Specified by:
update
in interfaceorg.apache.ibatis.session.SqlSession
-
update
- Specified by:
update
in interfaceorg.apache.ibatis.session.SqlSession
-
delete
- Specified by:
delete
in interfaceorg.apache.ibatis.session.SqlSession
-
delete
- Specified by:
delete
in interfaceorg.apache.ibatis.session.SqlSession
-
commit
public void commit()- Specified by:
commit
in interfaceorg.apache.ibatis.session.SqlSession
-
commit
public void commit(boolean force) - Specified by:
commit
in interfaceorg.apache.ibatis.session.SqlSession
-
rollback
public void rollback()- Specified by:
rollback
in interfaceorg.apache.ibatis.session.SqlSession
-
rollback
public void rollback(boolean force) - Specified by:
rollback
in interfaceorg.apache.ibatis.session.SqlSession
-
flushStatements
- Specified by:
flushStatements
in interfaceorg.apache.ibatis.session.SqlSession
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.ibatis.session.SqlSession
-
clearCache
public void clearCache()- Specified by:
clearCache
in interfaceorg.apache.ibatis.session.SqlSession
-
getConfiguration
public org.apache.ibatis.session.Configuration getConfiguration()- Specified by:
getConfiguration
in interfaceorg.apache.ibatis.session.SqlSession
-
getMapper
- Specified by:
getMapper
in interfaceorg.apache.ibatis.session.SqlSession
-
getConnection
- Specified by:
getConnection
in interfaceorg.apache.ibatis.session.SqlSession
-