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 TypeMethodDescriptionvoidintintvoidintprotected SqlMapSessionWrappercom.ibatis.sqlmap.client.SqlMapSessioncom.ibatis.sqlmap.client.SqlMapSessionopenSession(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.PaginatedListqueryForPaginatedList(String id, int pageSize) Deprecated.All paginated list features have been deprecatedcom.ibatis.common.util.PaginatedListqueryForPaginatedList(String id, Object paramObject, int pageSize) Deprecated.All paginated list features have been deprecatedvoidqueryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) voidqueryWithRowHandler(String id, Object paramObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) voidvoidsetUserConnection(Connection connection) voidvoidvoidstartTransaction(int transactionIsolation) intintMethods 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:
openSessionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
openSessionin interfacecom.ibatis.sqlmap.client.SqlMapClient- Overrides:
openSessionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
-
getSession
public com.ibatis.sqlmap.client.SqlMapSession getSession()- Specified by:
getSessionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
getSessionin interfacecom.ibatis.sqlmap.client.SqlMapClient- Overrides:
getSessionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl
-
insert
- Specified by:
insertin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
insertin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
insertin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
insert
- Specified by:
insertin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
insertin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
insertin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
update
- Specified by:
updatein interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
updatein interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
updatein classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
update
- Specified by:
updatein interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
updatein interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
updatein classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
delete
- Specified by:
deletein interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
deletein interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
deletein classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
delete
- Specified by:
deletein interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
deletein interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
deletein classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForObjectin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForObject
- Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForObjectin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForObject
public Object queryForObject(String id, Object paramObject, Object resultObject) throws SQLException - Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForObjectin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForObjectin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForList
- Specified by:
queryForListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForListin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForList
- Specified by:
queryForListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForListin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForList
- Specified by:
queryForListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForListin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForList
- Specified by:
queryForListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForListin 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:
queryForPaginatedListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForPaginatedListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForPaginatedListin 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:
queryForPaginatedListin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForPaginatedListin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForPaginatedListin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForMap
- Specified by:
queryForMapin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForMapin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForMapin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
queryForMap
public Map queryForMap(String id, Object paramObject, String keyProp, String valueProp) throws SQLException - Specified by:
queryForMapin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryForMapin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryForMapin 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:
queryWithRowHandlerin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryWithRowHandlerin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryWithRowHandlerin 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:
queryWithRowHandlerin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
queryWithRowHandlerin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
queryWithRowHandlerin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
startTransaction
- Specified by:
startTransactionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
startTransactionin interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager- Overrides:
startTransactionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
startTransaction
- Specified by:
startTransactionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
startTransactionin interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager- Overrides:
startTransactionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
commitTransaction
- Specified by:
commitTransactionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
commitTransactionin interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager- Overrides:
commitTransactionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
endTransaction
- Specified by:
endTransactionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
endTransactionin interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager- Overrides:
endTransactionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
startBatch
- Specified by:
startBatchin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
startBatchin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
startBatchin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatchin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
executeBatchin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
executeBatchin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-
executeBatchDetailed
public List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException- Specified by:
executeBatchDetailedin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
executeBatchDetailedin interfacecom.ibatis.sqlmap.client.SqlMapExecutor- Overrides:
executeBatchDetailedin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLExceptioncom.ibatis.sqlmap.engine.execution.BatchException
-
setUserConnection
- Specified by:
setUserConnectionin interfacecom.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient- Specified by:
setUserConnectionin interfacecom.ibatis.sqlmap.client.SqlMapTransactionManager- Overrides:
setUserConnectionin classcom.ibatis.sqlmap.engine.impl.SqlMapClientImpl- Throws:
SQLException
-