com.onewebsql.util.jdbc
Interface QueryResultOp.Operation<T,R>

Enclosing class:
QueryResultOp<T,PH,RH>

public static interface QueryResultOp.Operation<T,R>

An operation which needs access to both an open ResultSet object and an open request object PreparedStatement.


Method Summary
 T invoke(ResultSet resultSet, List<R> results)
          Invokes an operation which needs access to both an open ResultSet object and an open request object PreparedStatement.
 

Method Detail

invoke

T invoke(ResultSet resultSet,
         List<R> results)
         throws SQLException
Invokes an operation which needs access to both an open ResultSet object and an open request object PreparedStatement.

Parameters:
resultSet - result set from which we read the result
results - query results
Returns:
result of the operation
Throws:
SQLException - if an exception is thrown


Copyright © 2011-2013 e-point SA. All Rights Reserved.