Name

RowSetWriter

Synopsis

Interface Name: javax.sql.RowSetWriter

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

A class implementing the RowSetWriter interface registers itself with a RowSet object that supports the reader/writer paradigm. A RowSet then calls the RowSetWriter to write the contents of the RowSet to the database.

Class Summary

public interface RowSetWriter {
    boolean writeData(RowSetInternal rsi)
      throws java.sql.SQLException;
}

Object Methods

writeData( )

public void writeData(RowSetInternal rsi)
  throws java.sql.SQLException;
Description

This method writes data back to the data source behind the rowset.

Get Database Programming with JDBC & Java, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.