| java.lang.Object org.apache.beehive.controls.system.jdbc.ResultSetMapper org.apache.beehive.controls.system.jdbc.DefaultIteratorResultSetMapper
DefaultIteratorResultSetMapper | public class DefaultIteratorResultSetMapper extends ResultSetMapper (Code) | | Default ResultSetMapper implementation for Iterators.
|
Method Summary | |
public boolean | canCloseResultSet() | public Iterator | mapToResultType(ControlBeanContext context, Method m, ResultSet resultSet, Calendar cal) Map a ResultSet to an object type
Type of object to interate over is defined in the SQL annotation for the method.
Parameters: context - A ControlBeanContext instance, see Beehive controls javadoc for additional information Parameters: m - Method assoicated with this call. Parameters: resultSet - Result set to map. Parameters: cal - A Calendar instance for time/date value resolution. |
canCloseResultSet | public boolean canCloseResultSet()(Code) | | Can the ResultSet which this mapper uses be closed by the database control on return from its invoke() method?
always returns false |
mapToResultType | public Iterator mapToResultType(ControlBeanContext context, Method m, ResultSet resultSet, Calendar cal)(Code) | | Map a ResultSet to an object type
Type of object to interate over is defined in the SQL annotation for the method.
Parameters: context - A ControlBeanContext instance, see Beehive controls javadoc for additional information Parameters: m - Method assoicated with this call. Parameters: resultSet - Result set to map. Parameters: cal - A Calendar instance for time/date value resolution. The Iterator object instance resulting from the ResultSet |
|
|