javax.sql
Interface RowSetWriter


public interface RowSetWriter

An object that implements the RowSetWriter interface may be registered with a RowSet object that supports the reader/writer paradigm. The RowSetWriter.writeRow() method is called internally by a RowSet that supports the reader/writer paradigm to write the contents of the rowset to a data source.


Method Summary
 boolean writeData(RowSetInternal (src)  rowSetInternal)
          This method is called to write data to the data source that is backing the rowset.
 

Method Detail

writeData

public boolean writeData(RowSetInternal (src)  rowSetInternal)
                  throws java.sql.SQLException
This method is called to write data to the data source that is backing the rowset.

Parameters:
rowSetInternal - - the calling rowset
Returns:
true if the row was written, false if not due to a conflict
Throws:
java.sql.SQLException - - if a database-access error occur