RdbmsOperation using a JdbcTemplate and representing a SQL-based
call such as a stored procedure or a stored function.
Configures a CallableStatementCreatorFactory based on the declared
parameters.
author: Rod Johnson author: Thomas Risberg See Also:CallableStatementCreatorFactory
newCallableStatementCreator(Map inParams) Return a CallableStatementCreator to perform an operation
with this parameters.
Parameters: inParams - parameters.
newCallableStatementCreator(ParameterMapper inParamMapper) Return a CallableStatementCreator to perform an operation
with the parameters returned from this ParameterMapper.
Parameters: inParamMapper - parametermapper.
protected void
onCompileInternal() Hook method that subclasses may override to react to compilation.
public void
setFunction(boolean function) Set whether this call is for a function.
public void
setSqlReadyForUse(boolean sqlReadyForUse) Set whether the SQL can be used as is.
Constructor to allow use as a JavaBean.
A DataSource, SQL and any parameters must be supplied before
invoking the compile method and using this object.
See Also:SqlCall.setDataSource See Also:SqlCall.setSql See Also:SqlCall.compile
Create a new SqlCall object with SQL, but without parameters.
Must add parameters or settle with none.
Parameters: ds - DataSource to obtain connections from Parameters: sql - SQL to execute
Return a CallableStatementCreator to perform an operation
with the parameters returned from this ParameterMapper.
Parameters: inParamMapper - parametermapper. May not be null.