Interface IResultSetProcessor


public interface IResultSetProcessor
Interface implemented by a Result Set processor for database transactions executing an SQL query statement that produces a result set.
Author:
Christopher Mindus
  • Method Details

    • onResultSetCreated

      IResultSetRowProcessor onResultSetCreated(ResultSetProps rsProps, ResultSet rs) throws SQLException
      Method called when the result set is created, before rows are processed.

      The method should return a class instance implementing IResultSetRowProcessor that is in turn called for every row in the result set.

      Parameters:
      rsProps - The result set properties.
      rs - The SQL ResultSet instance.
      Returns:
      The instance of the row processor that will process all rows, or null in order not to process the rows.
      Throws:
      SQLException - In case of SQL exceptions.