public abstract static class PlSqlWrapper.PlSqlRunnable extends java.lang.Object implements QueryWrapper.QueryRunnable
PlSqlWrapper.executePlSql(PlSqlRunnable)| Constructor and Description |
|---|
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.SQLExceptionDBExceptionpublic void processCall(java.sql.CallableStatement cs)
throws java.sql.SQLException,
DBException
java.sql.SQLExceptionDBExceptionpublic void processResultSet(java.sql.ResultSet rs)
throws DBException
QueryWrapper.QueryRunnablethrowDBException
method(s) to process any exceptions encountered during processing.processResultSet in interface QueryWrapper.QueryRunnablers - the results of the query being m_runDBException - for any db (or processing) error