Package com.alibaba.druid.support.ibatis
Class SqlMapClientWrapper
java.lang.Object
com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper
com.alibaba.druid.support.ibatis.SqlMapClientWrapper
- All Implemented Interfaces:
com.ibatis.sqlmap.client.SqlMapClient
,com.ibatis.sqlmap.client.SqlMapExecutor
,com.ibatis.sqlmap.client.SqlMapTransactionManager
,com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public class SqlMapClientWrapper
extends SqlMapExecutorWrapper
implements com.ibatis.sqlmap.client.SqlMapClient, com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
Fields inherited from class com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper
clientImpl, clientImplWrapper
-
Constructor Summary
ConstructorDescriptionSqlMapClientWrapper
(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
flushDataCache
(String cacheId) com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactory
com.ibatis.sqlmap.client.SqlMapSession
com.ibatis.sqlmap.engine.execution.SqlExecutor
boolean
boolean
com.ibatis.sqlmap.client.SqlMapSession
com.ibatis.sqlmap.client.SqlMapSession
openSession
(Connection conn) void
setUserConnection
(Connection connection) void
void
startTransaction
(int transactionIsolation) Methods inherited from class com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper
delete, delete, executeBatch, executeBatchDetailed, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, startBatch, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
delete, delete, executeBatch, executeBatchDetailed, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, startBatch, update, update
-
Field Details
-
client
protected final com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client
-
-
Constructor Details
-
SqlMapClientWrapper
public SqlMapClientWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client)
-
-
Method Details
-
getClient
public com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient getClient() -
startTransaction
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
startTransaction
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
commitTransaction
- Specified by:
commitTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
commitTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
endTransaction
- Specified by:
endTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
endTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
setUserConnection
- Specified by:
setUserConnection
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
setUserConnection
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
getUserConnection
- Specified by:
getUserConnection
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
getUserConnection
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
getCurrentConnection
- Specified by:
getCurrentConnection
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
getCurrentConnection
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Throws:
SQLException
-
getDataSource
- Specified by:
getDataSource
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
getDataSource
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
-
openSession
public com.ibatis.sqlmap.client.SqlMapSession openSession()- Specified by:
openSession
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
openSession
in interfacecom.ibatis.sqlmap.client.SqlMapClient
-
openSession
- Specified by:
openSession
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
openSession
in interfacecom.ibatis.sqlmap.client.SqlMapClient
-
getSession
public com.ibatis.sqlmap.client.SqlMapSession getSession()- Specified by:
getSession
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
getSession
in interfacecom.ibatis.sqlmap.client.SqlMapClient
-
flushDataCache
public void flushDataCache()- Specified by:
flushDataCache
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
flushDataCache
in interfacecom.ibatis.sqlmap.client.SqlMapClient
-
flushDataCache
- Specified by:
flushDataCache
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
flushDataCache
in interfacecom.ibatis.sqlmap.client.SqlMapClient
-
getMappedStatement
- Specified by:
getMappedStatement
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
isLazyLoadingEnabled
public boolean isLazyLoadingEnabled()- Specified by:
isLazyLoadingEnabled
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
isEnhancementEnabled
public boolean isEnhancementEnabled()- Specified by:
isEnhancementEnabled
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
getSqlExecutor
public com.ibatis.sqlmap.engine.execution.SqlExecutor getSqlExecutor()- Specified by:
getSqlExecutor
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
getDelegate
public com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate getDelegate()- Specified by:
getDelegate
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-
getResultObjectFactory
public com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactory getResultObjectFactory()- Specified by:
getResultObjectFactory
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
-