Arch4J dataaccess 1.1

org.arch4j.dataaccess
Interface ResultSetVisitor

All Known Implementing Classes:
ResultSetAdapter, ResultSetCache

public interface ResultSetVisitor

This listener is used to process the results of a query string or to get the number of rows affected by an insert, update, or delete.

Version:
1.0.
Author:
SpiderLogic Team

Method Summary
 boolean processNextRow(ResultSet aResultSet)
          Process the next row of the SQL query.
 void setNumberOfRowsAffected(int aNumberOfRows)
          Sets the number of rows affected by the sql.
 

Method Detail

processNextRow

public boolean processNextRow(ResultSet aResultSet)
Process the next row of the SQL query.

Parameters:
aResultSet - The result set to process. The cursor is in the proper position.
Returns:
true if the processor should keep spinning through the result set.

setNumberOfRowsAffected

public void setNumberOfRowsAffected(int aNumberOfRows)
Sets the number of rows affected by the sql.

Parameters:
aNumberOfRows - The number of rows that have been affected.

Arch4J dataaccess 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.