Save This Page
Home » openjdk-7 » javax » sql » [javadoc | source]
javax.sql
public interface: RowSetInternal [javadoc | source] The interface that a RowSet object implements in order to present itself to a RowSetReader or RowSetWriter object. The RowSetInternal interface contains methods that let the reader or writer access and modify the internal state of the rowset.
Method from javax.sql.RowSetInternal Summary:
getConnection,   getOriginal,   getOriginalRow,   getParams,   setMetaData
Method from javax.sql.RowSetInternal Detail:
 public Connection getConnection() throws SQLException
    Retrieves the Connection object that was passed to this RowSet object.
 public ResultSet getOriginal() throws SQLException
    Retrieves a ResultSet object containing the original value of this RowSet object.

    The cursor is positioned before the first row in the result set. Only rows contained in the result set returned by the method getOriginal are said to have an original value.

 public ResultSet getOriginalRow() throws SQLException
    Retrieves a ResultSet object containing the original value of the current row only. If the current row has no original value, an empty result set is returned. If there is no current row, an exception is thrown.
 public Object[] getParams() throws SQLException
    Retrieves the parameters that have been set for this RowSet object's command.
 public  void setMetaData(RowSetMetaData md) throws SQLException
    Sets the given RowSetMetaData object as the RowSetMetaData object for this RowSet object. The RowSetReader object associated with the rowset will use RowSetMetaData methods to set the values giving information about the rowset's columns.