|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowSetWriter
An interface which provides functionality for a disconnected RowSet to put data updates back to the data source from which the RowSet was originally populated. An object implementing this interface is called a Writer.
The Writer must establish a connection to the RowSet's data source before writing the data. The RowSet calling this interface must implement the RowSetInternal interface.
The Writer may encounter a situation where the updated data being written back to the data source has already been updated in the data source. How a conflict of this kind is handled is determined by the implementation of the Writer.
| Method Summary | |
|---|---|
boolean |
writeData(RowSetInternal theRowSet)
Writes changes in the RowSet associated with this RowSetWriter back to its data source. |
| Method Detail |
|---|
boolean writeData(RowSetInternal theRowSet)
throws SQLException
theRowSet - the RowSet object. This RowSet must a) Implement the
RowSetInternal interface and b) have have this RowSetWriter
registered with it and c) must call this method internally
SQLException - if a problem occurs accessing the database
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||