public abstract static class PlSqlWrapper.PlSqlRunnable extends java.lang.Object implements QueryWrapper.QueryRunnable
Constructor and Description |
---|
PlSqlWrapper.PlSqlRunnable() |
Modifier and Type | Method and Description |
---|---|
void |
prepareCall(java.sql.CallableStatement cs)
Called once the statement has been created, but before execution so that
any output parameters can be registered.
|
void |
processCall(java.sql.CallableStatement cs) |
void |
processResultSet(java.sql.ResultSet rs)
Iterate through the result set as appropriate.
|
public void prepareCall(java.sql.CallableStatement cs) throws java.sql.SQLException, DBException
cs
- java.sql.SQLException
DBException
public void processCall(java.sql.CallableStatement cs) throws java.sql.SQLException, DBException
java.sql.SQLException
DBException
public void processResultSet(java.sql.ResultSet rs) throws DBException
QueryWrapper.QueryRunnable
throwDBException
method(s) to process any exceptions encountered during processing.processResultSet
in interface QueryWrapper.QueryRunnable
rs
- the results of the query being m_runDBException
- for any db (or processing) error