org.dartra.standard.dao.jdbc
Interface ResultSetRowHandler


public interface ResultSetRowHandler

Strategy to handle a row of a JDBC result set.

This was inspired by Expert One-on-One J2EE Design and Development by Rod Johnson (ISBN 0764543857).

Author:
Erwin Vervaet

Method Summary
 void handleResultSetRow(java.sql.ResultSet rs)
          Handle the current row of given result set.
 

Method Detail

handleResultSetRow

public void handleResultSetRow(java.sql.ResultSet rs)
                        throws java.sql.SQLException

Handle the current row of given result set. Normally, implementations should not call the next() method on the result set. Also, SQLException-s should not be caught, this is done by the infrastructure.

Throws:
java.sql.SQLException