org.apache.lucene.store.jdbc.support
Interface JdbcTemplate.CallableStatementCallback

Enclosing class:
JdbcTemplate

public static interface JdbcTemplate.CallableStatementCallback

A callback used to work with CallableStatement.


Method Summary
 void fillCallableStatement(CallableStatement cs)
          initialize/Fill the CallableStatement before it is executed.
 Object readCallableData(CallableStatement cs)
          Read/Extract data from the result of the CallableStatement execution.
 

Method Detail

fillCallableStatement

void fillCallableStatement(CallableStatement cs)
                           throws Exception
initialize/Fill the CallableStatement before it is executed.

Throws:
Exception

readCallableData

Object readCallableData(CallableStatement cs)
                        throws Exception
Read/Extract data from the result of the CallableStatement execution. CAn optionally have a return value.

Throws:
Exception


Copyright (c) 2004-2009 The Compass Project.