Class UpdateStatement
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
com.ibatis.sqlmap.engine.mapping.statement.UpdateStatement
The Class UpdateStatement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteQueryForList(StatementScope statementScope, Transaction trans, Object parameterObject, int skipResults, int maxResults) Execute query for list.executeQueryForObject(StatementScope statementScope, Transaction trans, Object parameterObject, Object resultObject) Execute query for object.voidexecuteQueryWithRowHandler(StatementScope statementScope, Transaction trans, Object parameterObject, RowHandler rowHandler) Execute query with row handler.Gets the statement type.Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
addExecuteListener, addResultMap, executeQueryWithCallback, executeUpdate, getAdditionalResultMaps, getCacheKey, getFetchSize, getId, getParameterClass, getParameterMap, getResource, getResultMap, getResultSetType, getSql, getSqlExecutor, getSqlMapClient, getTimeout, hasMultipleResultMaps, initRequest, notifyListeners, postProcessParameterObject, setBaseCacheKey, setFetchSize, setId, setParameterClass, setParameterMap, setResource, setResultMap, setResultSetType, setSql, setSqlMapClient, setTimeout, sqlExecuteQuery, sqlExecuteUpdate, validateParameter
-
Constructor Details
-
UpdateStatement
public UpdateStatement()
-
-
Method Details
-
getStatementType
Description copied from class:MappedStatementGets the statement type.- Overrides:
getStatementTypein classMappedStatement- Returns:
- the statement type
-
executeQueryForObject
public Object executeQueryForObject(StatementScope statementScope, Transaction trans, Object parameterObject, Object resultObject) throws SQLException Description copied from class:MappedStatementExecute query for object.- Overrides:
executeQueryForObjectin classMappedStatement- Parameters:
statementScope- the statement scopetrans- the transparameterObject- the parameter objectresultObject- the result object- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
executeQueryForList
public List executeQueryForList(StatementScope statementScope, Transaction trans, Object parameterObject, int skipResults, int maxResults) throws SQLException Description copied from class:MappedStatementExecute query for list.- Overrides:
executeQueryForListin classMappedStatement- Parameters:
statementScope- the statement scopetrans- the transparameterObject- the parameter objectskipResults- the skip resultsmaxResults- the max results- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
executeQueryWithRowHandler
public void executeQueryWithRowHandler(StatementScope statementScope, Transaction trans, Object parameterObject, RowHandler rowHandler) throws SQLException Description copied from class:MappedStatementExecute query with row handler.- Overrides:
executeQueryWithRowHandlerin classMappedStatement- Parameters:
statementScope- the statement scopetrans- the transparameterObject- the parameter objectrowHandler- the row handler- Throws:
SQLException- the SQL exception
-