|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowSetReader
An interface which provides functionality for a disconnected RowSet to get data from a data source into its rows. The RowSet calls the RowSetReader interface when the RowSet's execute method is invoked - a RowSetReader must first be registered with the RowSet for this to work.
| Method Summary | |
|---|---|
void |
readData(RowSetInternal theCaller)
Reads new data into the RowSet. |
| Method Detail |
|---|
void readData(RowSetInternal theCaller)
throws SQLException
This method adds rows into the calling RowSet. The Reader may invoke any
of the RowSet's methods except for the execute method
(calling execute will cause an SQLException to be thrown). However, when
the Reader calls the RowSet's methods, no events are sent to listeners -
any listeners are informed by the calling RowSet's execute method once
the Reader returns from the readData method.
theCaller - must be the calling RowSet object, which must have implemented
the RowSetInternal interface.
SQLException - if a problem occurs accessing the database or if the Reader
calls the RowSet.execute method.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||