Class ProcedureStatement
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
com.ibatis.sqlmap.engine.mapping.statement.ProcedureStatement
The Class ProcedureStatement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the statement type.protected voidpostProcessParameterObject(StatementScope statementScope, Object parameterObject, Object[] parameters) Post process parameter object.protected voidsqlExecuteQuery(StatementScope statementScope, Connection conn, String sqlString, Object[] parameters, int skipResults, int maxResults, RowHandlerCallback callback) Sql execute query.protected intsqlExecuteUpdate(StatementScope statementScope, Connection conn, String sqlString, Object[] parameters) Sql execute update.Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
addExecuteListener, addResultMap, executeQueryForList, executeQueryForObject, executeQueryWithCallback, executeQueryWithRowHandler, executeUpdate, getAdditionalResultMaps, getCacheKey, getFetchSize, getId, getParameterClass, getParameterMap, getResource, getResultMap, getResultSetType, getSql, getSqlExecutor, getSqlMapClient, getTimeout, hasMultipleResultMaps, initRequest, notifyListeners, setBaseCacheKey, setFetchSize, setId, setParameterClass, setParameterMap, setResource, setResultMap, setResultSetType, setSql, setSqlMapClient, setTimeout, validateParameter
-
Constructor Details
-
ProcedureStatement
public ProcedureStatement()
-
-
Method Details
-
postProcessParameterObject
protected void postProcessParameterObject(StatementScope statementScope, Object parameterObject, Object[] parameters) Description copied from class:MappedStatementPost process parameter object.- Overrides:
postProcessParameterObjectin classMappedStatement- Parameters:
statementScope- the statement scopeparameterObject- the parameter objectparameters- the parameters
-
sqlExecuteUpdate
protected int sqlExecuteUpdate(StatementScope statementScope, Connection conn, String sqlString, Object[] parameters) throws SQLException Description copied from class:MappedStatementSql execute update.- Overrides:
sqlExecuteUpdatein classMappedStatement- Parameters:
statementScope- the statement scopeconn- the connsqlString- the sql stringparameters- the parameters- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
sqlExecuteQuery
protected void sqlExecuteQuery(StatementScope statementScope, Connection conn, String sqlString, Object[] parameters, int skipResults, int maxResults, RowHandlerCallback callback) throws SQLException Description copied from class:MappedStatementSql execute query.- Overrides:
sqlExecuteQueryin classMappedStatement- Parameters:
statementScope- the statement scopeconn- the connsqlString- the sql stringparameters- the parametersskipResults- the skip resultsmaxResults- the max resultscallback- the callback- Throws:
SQLException- the SQL exception
-
getStatementType
Description copied from class:MappedStatementGets the statement type.- Overrides:
getStatementTypein classMappedStatement- Returns:
- the statement type
-