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.SqlMapClientopenSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientopenSession in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplpublic com.ibatis.sqlmap.client.SqlMapSession getSession()
getSession in interface com.ibatis.sqlmap.client.SqlMapClientgetSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientgetSession in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplpublic Object insert(String id, Object param) throws SQLException
insert in interface com.ibatis.sqlmap.client.SqlMapExecutorinsert in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientinsert in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Object insert(String id) throws SQLException
insert in interface com.ibatis.sqlmap.client.SqlMapExecutorinsert in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientinsert in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic int update(String id, Object param) throws SQLException
update in interface com.ibatis.sqlmap.client.SqlMapExecutorupdate in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientupdate in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic int update(String id) throws SQLException
update in interface com.ibatis.sqlmap.client.SqlMapExecutorupdate in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientupdate in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic int delete(String id, Object param) throws SQLException
delete in interface com.ibatis.sqlmap.client.SqlMapExecutordelete in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientdelete in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic int delete(String id) throws SQLException
delete in interface com.ibatis.sqlmap.client.SqlMapExecutordelete in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientdelete in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Object queryForObject(String id, Object paramObject) throws SQLException
queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Object queryForObject(String id) throws SQLException
queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Object queryForObject(String id, Object paramObject, Object resultObject) throws SQLException
queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic List queryForList(String id, Object paramObject) throws SQLException
queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic List queryForList(String id) throws SQLException
queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic List queryForList(String id, Object paramObject, int skip, int max) throws SQLException
queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic List queryForList(String id, int skip, int max) throws SQLException
queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, Object paramObject, int pageSize) throws SQLException
queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForPaginatedList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForPaginatedList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException
queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForPaginatedList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForPaginatedList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Map queryForMap(String id, Object paramObject, String keyProp) throws SQLException
queryForMap in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForMap in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForMap in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic Map queryForMap(String id, Object paramObject, String keyProp, String valueProp) throws SQLException
queryForMap in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryForMap in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryForMap in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void queryWithRowHandler(String id, Object paramObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryWithRowHandler in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryWithRowHandler in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void queryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutorqueryWithRowHandler in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientqueryWithRowHandler in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void startTransaction()
throws SQLException
startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerstartTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientstartTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void startTransaction(int transactionIsolation)
throws SQLException
startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerstartTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientstartTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void commitTransaction()
throws SQLException
commitTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagercommitTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientcommitTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void endTransaction()
throws SQLException
endTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerendTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientendTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic void startBatch()
throws SQLException
startBatch in interface com.ibatis.sqlmap.client.SqlMapExecutorstartBatch in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientstartBatch in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic int executeBatch()
throws SQLException
executeBatch in interface com.ibatis.sqlmap.client.SqlMapExecutorexecuteBatch in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientexecuteBatch in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionpublic List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException
executeBatchDetailed in interface com.ibatis.sqlmap.client.SqlMapExecutorexecuteBatchDetailed in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientexecuteBatchDetailed in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptioncom.ibatis.sqlmap.engine.execution.BatchExceptionpublic void setUserConnection(Connection connection) throws SQLException
setUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagersetUserConnection in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientsetUserConnection in class com.ibatis.sqlmap.engine.impl.SqlMapClientImplSQLExceptionCopyright © 2013–2018 Alibaba Group. All rights reserved.