Intended to use to call SQL functions that return a single result using a query like "select user()" or "select sysdate from dual". It is not intended for calling more complex stored functions or for using a CallableStatement to invoke a stored procedure or stored function. Use StoredProcedure or SqlCall for this type of processing.
This is a concrete class, which there is often no need to subclass. Code using this package can create an object of this type, declaring SQL and parameters, and then invoke the appropriate run
method repeatedly to execute the function. Subclasses are only supposed to add specialized run
methods for specific parameter and return types.
Like all RdbmsOperation objects, SqlFunction objects are thread-safe. @author Rod Johnson @author Juergen Hoeller @author Jean-Pierre Pawlak @see org.springframework.jdbc.object.StoredProcedure
|
|
|
|
|
|