Package com.alibaba.druid.support.ibatis
Class SqlMapExecutorWrapper
java.lang.Object
com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper
- All Implemented Interfaces:
com.ibatis.sqlmap.client.SqlMapExecutor
- Direct Known Subclasses:
SqlMapClientWrapper
,SqlMapSessionWrapper
public class SqlMapExecutorWrapper
extends Object
implements com.ibatis.sqlmap.client.SqlMapExecutor
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
protected final SqlMapClientImplWrapper
-
Constructor Summary
ConstructorDescriptionSqlMapExecutorWrapper
(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client, com.ibatis.sqlmap.client.SqlMapExecutor executor) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
queryForList
(String id) queryForList
(String id, int skip, int max) queryForList
(String id, Object parameterObject) queryForList
(String id, Object parameterObject, int skip, int max) queryForMap
(String id, Object parameterObject, String keyProp) queryForMap
(String id, Object parameterObject, String keyProp, String valueProp) queryForObject
(String id) queryForObject
(String id, Object parameterObject) queryForObject
(String id, Object parameterObject, Object resultObject) com.ibatis.common.util.PaginatedList
queryForPaginatedList
(String id, int pageSize) com.ibatis.common.util.PaginatedList
queryForPaginatedList
(String id, Object parameterObject, int pageSize) void
queryWithRowHandler
(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) void
queryWithRowHandler
(String id, Object parameterObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) void
int
int
-
Field Details
-
clientImpl
protected final com.ibatis.sqlmap.engine.impl.SqlMapClientImpl clientImpl -
clientImplWrapper
-
-
Constructor Details
-
SqlMapExecutorWrapper
public SqlMapExecutorWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client, com.ibatis.sqlmap.client.SqlMapExecutor executor)
-
-
Method Details
-
insert
- Specified by:
insert
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
insert
- Specified by:
insert
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
update
- Specified by:
update
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
update
- Specified by:
update
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
delete
- Specified by:
delete
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
delete
- Specified by:
delete
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForObject
public Object queryForObject(String id, Object parameterObject, Object resultObject) throws SQLException - Specified by:
queryForObject
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForList
- Specified by:
queryForList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryWithRowHandler
public void queryWithRowHandler(String id, Object parameterObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException - Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryWithRowHandler
public void queryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException - Specified by:
queryWithRowHandler
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForPaginatedList
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, Object parameterObject, int pageSize) throws SQLException - Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForPaginatedList
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException - Specified by:
queryForPaginatedList
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForMap
- Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
queryForMap
public Map queryForMap(String id, Object parameterObject, String keyProp, String valueProp) throws SQLException - Specified by:
queryForMap
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
startBatch
- Specified by:
startBatch
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatch
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
-
executeBatchDetailed
public List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException- Specified by:
executeBatchDetailed
in interfacecom.ibatis.sqlmap.client.SqlMapExecutor
- Throws:
SQLException
com.ibatis.sqlmap.engine.execution.BatchException
-