com.onewebsql.util.jdbc
Interface ConnectionOp<T>

All Known Implementing Classes:
BatchUpdateOp, CallableStatementOp, ColumnBlobOp, ColumnClobOp, ColumnOp, DiskBufferingSetBlobOp, DiskBufferingSetClobOp, GetBlobOp, GetClobOp, QueryOp, QueryResultOp, QueryWithLimitOp, SetBlobOp, SetClobOp, UpdateOp

public interface ConnectionOp<T>

An operation which needs database connection.


Method Summary
 T invoke(Connection connection)
          Invokes the operation.
 

Method Detail

invoke

T invoke(Connection connection)
         throws SQLException
Invokes the operation.

Parameters:
connection - database connection
Returns:
result of the operation
Throws:
SQLException - if an exception is thrown


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