- All Superinterfaces:
- com.speechstorm.fish.scripting.AsyncResponse, AsyncSqlResponse, AsyncSqlRowsResponse
public interface AsyncSqlStoredProcedureResponse
extends AsyncSqlResponse, AsyncSqlRowsResponse
The result of a SQL stored procedure query. Depending on the nature of the
stored procedure being called, it may return either an update count or a
result set.
Note: if the stored procedure is expected to return zero or more rows (as
opposed to just an update count) then you MUST call the close() method on the
DBRows object that is returned. Failure to do so means that the connection
and associated resources will not be returned to the connection pool; this
will quickly cause your connection pool to run dry and you will be unable to
make new database requests.
- Author:
- morr