public class SqlMapClientImplWrapper
extends com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
Modifier and Type | Class and Description |
---|---|
static class |
SqlMapClientImplWrapper.IbatisStatementInfo |
Constructor and Description |
---|
SqlMapClientImplWrapper(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl raw) |
Modifier and Type | Method and Description |
---|---|
void |
commitTransaction() |
int |
delete(String id) |
int |
delete(String id,
Object param) |
void |
endTransaction() |
int |
executeBatch() |
List |
executeBatchDetailed() |
com.ibatis.sqlmap.client.SqlMapSession |
getSession() |
Object |
insert(String id) |
Object |
insert(String id,
Object param) |
com.ibatis.sqlmap.client.SqlMapSession |
openSession(Connection conn) |
List |
queryForList(String id) |
List |
queryForList(String id,
int skip,
int max) |
List |
queryForList(String id,
Object paramObject) |
List |
queryForList(String id,
Object paramObject,
int skip,
int max) |
Map |
queryForMap(String id,
Object paramObject,
String keyProp) |
Map |
queryForMap(String id,
Object paramObject,
String keyProp,
String valueProp) |
Object |
queryForObject(String id) |
Object |
queryForObject(String id,
Object paramObject) |
Object |
queryForObject(String id,
Object paramObject,
Object resultObject) |
com.ibatis.common.util.PaginatedList |
queryForPaginatedList(String id,
int pageSize)
Deprecated.
All paginated list features have been deprecated
|
com.ibatis.common.util.PaginatedList |
queryForPaginatedList(String id,
Object paramObject,
int pageSize)
Deprecated.
All paginated list features have been deprecated
|
void |
queryWithRowHandler(String id,
Object paramObject,
com.ibatis.sqlmap.client.event.RowHandler rowHandler) |
void |
queryWithRowHandler(String id,
com.ibatis.sqlmap.client.event.RowHandler rowHandler) |
void |
setLocal(String id,
com.ibatis.sqlmap.client.SqlMapExecutor executor) |
void |
setUserConnection(Connection connection) |
void |
startBatch() |
void |
startTransaction() |
void |
startTransaction(int transactionIsolation) |
int |
update(String id) |
int |
update(String id,
Object param) |
public SqlMapClientImplWrapper(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl raw)
public void setLocal(String id, com.ibatis.sqlmap.client.SqlMapExecutor executor)
public com.ibatis.sqlmap.client.SqlMapSession openSession(Connection conn)
openSession
in interface com.ibatis.sqlmap.client.SqlMapClient
openSession
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
openSession
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
public com.ibatis.sqlmap.client.SqlMapSession getSession()
getSession
in interface com.ibatis.sqlmap.client.SqlMapClient
getSession
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
getSession
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
public Object insert(String id, Object param) throws SQLException
insert
in interface com.ibatis.sqlmap.client.SqlMapExecutor
insert
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
insert
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Object insert(String id) throws SQLException
insert
in interface com.ibatis.sqlmap.client.SqlMapExecutor
insert
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
insert
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public int update(String id, Object param) throws SQLException
update
in interface com.ibatis.sqlmap.client.SqlMapExecutor
update
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
update
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public int update(String id) throws SQLException
update
in interface com.ibatis.sqlmap.client.SqlMapExecutor
update
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
update
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public int delete(String id, Object param) throws SQLException
delete
in interface com.ibatis.sqlmap.client.SqlMapExecutor
delete
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
delete
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public int delete(String id) throws SQLException
delete
in interface com.ibatis.sqlmap.client.SqlMapExecutor
delete
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
delete
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Object queryForObject(String id, Object paramObject) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForObject
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForObject
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Object queryForObject(String id) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForObject
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForObject
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Object queryForObject(String id, Object paramObject, Object resultObject) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForObject
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForObject
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public List queryForList(String id, Object paramObject) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public List queryForList(String id) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public List queryForList(String id, Object paramObject, int skip, int max) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public List queryForList(String id, int skip, int max) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, Object paramObject, int pageSize) throws SQLException
queryForPaginatedList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForPaginatedList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForPaginatedList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException
queryForPaginatedList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForPaginatedList
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForPaginatedList
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Map queryForMap(String id, Object paramObject, String keyProp) throws SQLException
queryForMap
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForMap
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForMap
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public Map queryForMap(String id, Object paramObject, String keyProp, String valueProp) throws SQLException
queryForMap
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryForMap
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryForMap
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void queryWithRowHandler(String id, Object paramObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryWithRowHandler
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryWithRowHandler
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void queryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler
in interface com.ibatis.sqlmap.client.SqlMapExecutor
queryWithRowHandler
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
queryWithRowHandler
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void startTransaction() throws SQLException
startTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
startTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
startTransaction
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void startTransaction(int transactionIsolation) throws SQLException
startTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
startTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
startTransaction
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void commitTransaction() throws SQLException
commitTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
commitTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
commitTransaction
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void endTransaction() throws SQLException
endTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
endTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
endTransaction
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public void startBatch() throws SQLException
startBatch
in interface com.ibatis.sqlmap.client.SqlMapExecutor
startBatch
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
startBatch
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public int executeBatch() throws SQLException
executeBatch
in interface com.ibatis.sqlmap.client.SqlMapExecutor
executeBatch
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
executeBatch
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
public List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException
executeBatchDetailed
in interface com.ibatis.sqlmap.client.SqlMapExecutor
executeBatchDetailed
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
executeBatchDetailed
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
com.ibatis.sqlmap.engine.execution.BatchException
public void setUserConnection(Connection connection) throws SQLException
setUserConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
setUserConnection
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
setUserConnection
in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
SQLException
Copyright © 2013–2017 Alibaba Group. All rights reserved.