|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jdbc.object.UpdatableSqlQuery.RowMapperImpl
protected class UpdatableSqlQuery.RowMapperImpl
Implementation of RowMapper that calls the enclosing
class's updateRow() method for each row.
| Constructor Summary | |
|---|---|
UpdatableSqlQuery.RowMapperImpl(java.util.Map context)
|
|
| Method Summary | |
|---|---|
T |
mapRow(java.sql.ResultSet rs,
int rowNum)
Implementations must implement this method to map each row of data in the ResultSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdatableSqlQuery.RowMapperImpl(java.util.Map context)
| Method Detail |
|---|
public T mapRow(java.sql.ResultSet rs,
int rowNum)
throws java.sql.SQLException
RowMappernext() on
the ResultSet; it is only supposed to map values of the current row.
mapRow in interface RowMapper<T>rs - the ResultSet to map (pre-initialized for the current row)rowNum - the number of the current row
java.sql.SQLException - if a SQLException is encountered getting
column values (that is, there's no need to catch SQLException)
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||