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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access