当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface RowSetWriter - Java Platform, Enterprise Edition v1.3.1 API Specifications
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 caller)
This method is called to write data to the data source
that is backing the rowset. |
writeData
public boolean writeData(RowSetInternal caller)
throws java.sql.SQLException
This method is called to write data to the data source
that is backing the rowset.
- Parameters:
caller
- 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