站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

RowSetWriter (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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 rowSetInternal)
          This method is called to write data to the data source that is backing the rowset.
 

Method Detail

writeData

public boolean writeData(RowSetInternal rowSetInternal)
                  throws 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:
SQLException - - if a database-access error occur


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.