IT. Expert System.

Java Standard Edition (SE)

RowSetInternal


compact2, compact3
javax.sql

Interface RowSetInternal



  • public interface RowSetInternal
    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.
    Since:
    1.4
    • Method Detail

      • getParams

        Object[] getParams()
                    throws SQLException
        Retrieves the parameters that have been set for this RowSet object's command.
        Returns:
        an array of the current parameter values for this RowSet object's command
        Throws:
        SQLException - if a database access error occurs
      • getConnection

        Connection getConnection()
                          throws SQLException
        Retrieves the Connection object that was passed to this RowSet object.
        Returns:
        the Connection object passed to the rowset or null if none was passed
        Throws:
        SQLException - if a database access error occurs
      • setMetaData

        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.
        Parameters:
        md - the RowSetMetaData object that will be set with information about the rowset's columns
        Throws:
        SQLException - if a database access error occurs
      • getOriginal

        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.

        Returns:
        the original value of the rowset
        Throws:
        SQLException - if a database access error occurs
      • getOriginalRow

        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.
        Returns:
        the original value of the current row as a ResultSet object
        Throws:
        SQLException - if a database access error occurs or this method is called while the cursor is on the insert row, before the first row, or after the last row


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1195 / . Delta: 0.02480 с