Package com.alibaba.druid.support.ibatis
Class SqlMapClientImplWrapper
java.lang.Object
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
com.alibaba.druid.support.ibatis.SqlMapClientImplWrapper
- 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 SqlMapClientImplWrapper
extends com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
delegate, localSqlMapSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
void
int
protected SqlMapSessionWrapper
com.ibatis.sqlmap.client.SqlMapSession
com.ibatis.sqlmap.client.SqlMapSession
openSession
(Connection conn) queryForList
(String id) queryForList
(String id, int skip, int max) queryForList
(String id, Object paramObject) queryForList
(String id, Object paramObject, int skip, int max) queryForMap
(String id, Object paramObject, String keyProp) queryForMap
(String id, Object paramObject, String keyProp, String valueProp) queryForObject
(String id) queryForObject
(String id, Object paramObject) queryForObject
(String id, Object paramObject, Object resultObject) com.ibatis.common.util.PaginatedList
queryForPaginatedList
(String id, int pageSize) Deprecated.All paginated list features have been deprecatedcom.ibatis.common.util.PaginatedList
queryForPaginatedList
(String id, Object paramObject, int pageSize) Deprecated.All paginated list features have been deprecatedvoid
queryWithRowHandler
(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) void
queryWithRowHandler
(String id, Object paramObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) void
void
setUserConnection
(Connection connection) void
void
void
startTransaction
(int transactionIsolation) int
int
Methods inherited from class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
flushDataCache, flushDataCache, getCurrentConnection, getDataSource, getDelegate, getLocalSqlMapSession, getMappedStatement, getResultObjectFactory, getSqlExecutor, getUserConnection, isEnhancementEnabled, isLazyLoadingEnabled, openSession
-
Constructor Details
-
SqlMapClientImplWrapper
public SqlMapClientImplWrapper(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl raw)
-
-
Method Details
-
setLocal
-
getLocalSqlMapSessionWrapper
-
openSession
- Specified by:
openSession
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
openSession
in interfacecom.ibatis.sqlmap.client.SqlMapClient
- Overrides:
openSession
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
-
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
- Overrides:
getSession
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
-
insert
- Specified by:
insert
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
insert
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
insert
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
insert
- Specified by:
insert
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
insert
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
insert
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
update
- Specified by:
update
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
update
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
update
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
update
- Specified by:
update
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
update
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
update
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
delete
- Specified by:
delete
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
delete
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
delete
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
delete
- Specified by:
delete
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
delete
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
delete
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForObject
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForObject
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForObject
public Object queryForObject(String id, Object paramObject, Object resultObject) throws SQLException - Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForObject
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForPaginatedList
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, Object paramObject, int pageSize) throws SQLException Deprecated.All paginated list features have been deprecated- Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForPaginatedList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForPaginatedList
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException Deprecated.All paginated list features have been deprecated- Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForPaginatedList
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForMap
- Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForMap
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryForMap
public Map queryForMap(String id, Object paramObject, String keyProp, String valueProp) throws SQLException - Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryForMap
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryWithRowHandler
public void queryWithRowHandler(String id, Object paramObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException - Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryWithRowHandler
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
queryWithRowHandler
public void queryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException - Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
queryWithRowHandler
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
startTransaction
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Overrides:
startTransaction
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
startTransaction
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
startTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Overrides:
startTransaction
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
commitTransaction
- Specified by:
commitTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
commitTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Overrides:
commitTransaction
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
endTransaction
- Specified by:
endTransaction
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
endTransaction
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Overrides:
endTransaction
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
startBatch
- Specified by:
startBatch
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
startBatch
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
startBatch
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatch
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
executeBatch
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
executeBatch
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-
executeBatchDetailed
public List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException- Specified by:
executeBatchDetailed
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
executeBatchDetailed
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Overrides:
executeBatchDetailed
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
com.ibatis.sqlmap.engine.execution.BatchException
-
setUserConnection
- Specified by:
setUserConnection
in interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
- Specified by:
setUserConnection
in interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager
- Overrides:
setUserConnection
in classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
- Throws:
SQLException
-