Interface RowSetWriter

 public interface RowSetWriter

Rowsets can support the reader/writer paradigm. When this is the case, the rowset calls the RowSetWriter each time that its rows must be saved to the database.

Methods

writeData

public boolean writeData(RowSetInternal caller) throws java.sql.SQLException

The rowset calls this method when the rowset supports the reader/writer paradigm and data needs to be saved to the database to which this rowset is linked. A SQLException is thrown if a database access error occurs.

Parameters:

caller:

The calling rowset

Returns: true if the row can be written



JDBC 3. 0. JAVA Database Connectivity
JDBC 3: Java Database Connectivity
ISBN: 0764548751
EAN: 2147483647
Year: 2002
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net