net.sf.voruta
Interface ResultSetHandler

All Known Implementing Classes:
BeanCollectionHandler, BeanHandler, BeanMapHandler, ColumnHandler, MapHandler, PairHandler, ScalarHandler, VectorHandler, CollectionHandler

public interface ResultSetHandler

Service provider interface used to prosess results returned from SQL query

Author:
baliuka

Method Summary
 java.lang.Object handle(DbResultSet rs, java.lang.Class returnType, java.lang.Object[] params)
          Callback method
 

Method Detail

handle

public java.lang.Object handle(DbResultSet rs,
                               java.lang.Class returnType,
                               java.lang.Object[] params)
                        throws java.lang.Exception
Callback method
Parameters:
rs - Result set returned by SQL query
returnType - method result type
params - method parameters
Returns:
transformed value, can be null
Throws:
SQLException - on error in query processing


Copyright © 2003-2004 voruta. All Rights Reserved.