|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.jdbc.object.UpdatableSqlQuery.ResultReaderImpl
Implementation of ResultReader that calls the enclosing class's updateRow() method for each row.
| Constructor Summary | |
UpdatableSqlQuery.ResultReaderImpl(int rowsExpected,
java.util.Map context)
Use an array results. |
|
| Method Summary | |
java.util.List |
getResults()
Return all results, disconnected from the JDBC ResultSet. |
void |
processRow(java.sql.ResultSet rs)
Implementations must implement this method to process 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.ResultReaderImpl(int rowsExpected,
java.util.Map context)
| Method Detail |
public void processRow(java.sql.ResultSet rs)
throws java.sql.SQLException
RowCallbackHandler
processRow in interface RowCallbackHandlerrs - the ResultSet to process
java.sql.SQLException - if a SQLException is encountered getting
column values (that is, there's no need to catch SQLException)public java.util.List getResults()
ResultReader
getResults in interface ResultReader
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||