org.javalite.activejdbc
Interface RowListener

All Known Implementing Classes:
RowListenerAdapter

public interface RowListener


Method Summary
 boolean next(Map<String,Object> row)
          Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB.
 

Method Detail

next

boolean next(Map<String,Object> row)
Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB. Immediately after returning "false", ActiveJDBC will close JDBC resources associated with this request: Statement and ResultSet.

Parameters:
row - Map instance containing values for a row. Keys are names of columns and values are .. values.
Returns:
false if this listener needs to stop processing (no more calls to this method)


Copyright © 2015 JavaLite. All rights reserved.