protected class

UpdatableSqlQuery.RowMapperImpl

extends Object
implements RowMapper<T>
java.lang.Object
   ↳ org.springframework.jdbc.object.UpdatableSqlQuery.RowMapperImpl

Class Overview

Implementation of RowMapper that calls the enclosing class's updateRow() method for each row.

Summary

Public Constructors
UpdatableSqlQuery.RowMapperImpl(Map context)
Public Methods
T mapRow(ResultSet rs, int rowNum)
Implementations must implement this method to map each row of data in the ResultSet.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.jdbc.core.RowMapper

Public Constructors

public UpdatableSqlQuery.RowMapperImpl (Map context)

Public Methods

public T mapRow (ResultSet rs, int rowNum)

Implementations must implement this method to map each row of data in the ResultSet. This method should not call next() on the ResultSet; it is only supposed to map values of the current row.

Parameters
rs the ResultSet to map (pre-initialized for the current row)
rowNum the number of the current row
Returns
  • the result object for the current row
Throws
SQLException