O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

RowSetInternal

Synopsis

Interface Name: javax.sql.RowSetInternal

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

RowSet instances present themselves to a reader or writer as an instance of the RowSetInternal interface. The RowSetInternal interface contains methods that enable a reader or writer to access the internal state of a RowSet.

Class Summary

public interface RowSetInternal {
    java.sql.Connection getConnection( )
      throws java.sql.SQLException;
    java.sql.ResultSet getOriginal( ) throws java.sql.SQLException;
    java.sql.ResultSet getOriginalRow( )
      throws java.sql.SQLException;
    Object[] getParams( ) throws java.sql.SQLException;
    void setMetaData(RowSetMetaData rsmd)
      throws java.sql.SQLException;
}

Object Methods

getConnection( )

public java.sql.Connection getConnection( ) 
  throws java.sql.SQLException;
Description

This method provides the connection used by the rowset.

getOriginal( )

public java.sql.ResultSet getOriginal( ) throws java.sql.SQLException;
Description

This method provides the original result set underlying the rowset.

getOriginalRow( )

public java.sql.ResultSet getOriginalRow( )
  throws java.sql.SQLException;
Description

This method provides a result set that contains data only from the current rowset row. It throws an exception if there is no current row.

getParams( )

public Object[] getParams( ) throws java.sql.SQLException;
Description

This method provides the parameters that were bound to generate the current results. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required