Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.javatools.db.execute
Interface QueryWrapper.QueryRunnable

All Known Implementing Classes:
PlSqlWrapper.PlSqlRunnable
Enclosing class:
QueryWrapper

public static interface QueryWrapper.QueryRunnable

A QueryRunnable implementation is passed to the QueryWrapper on execute of the query to process the resulting ResultSet. This allows the enforcement of the correct threading behaviour for any hits to the database (i.e. the ResultSet iteration) as the wrapper framework can ensure that the ResultSet is processed, and then closed.

See Also:
QueryWrapper.executeQuery(QueryRunnable)

Method Summary
 void processResultSet(java.sql.ResultSet rs)
          Iterate through the result set as appropriate.
 

Method Detail

processResultSet

void processResultSet(java.sql.ResultSet rs)
                      throws DBException
Iterate through the result set as appropriate. Use the wrapper's throwDBException method(s) to process any exceptions encountered during processing.

Parameters:
rs - the results of the query being m_run
Throws:
DBException - for any db (or processing) error

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.