10133 lines · 431.3 KB · Java
RawDownload
     * <code>java.io.Reader</code> object.     * It is intended for use when     * accessing  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * @return a <code>java.io.Reader</code> object that contains the column     * value; if the value is SQL <code>NULL</code>, the value returned is     * <code>null</code> in the Java programming language.     * @param columnIndex the first column is 1, the second is 2, ...     * @exception SQLException if a database access error occurs     * @since 1.6     */    public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {       throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());     }      /**     * Retrieves the value of the designated column in the current row     * of this <code>ResultSet</code> object as a     * <code>java.io.Reader</code> object.     * It is intended for use when     * accessing  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * @param columnName the name of the column     * @return a <code>java.io.Reader</code> object that contains the column     * value; if the value is SQL <code>NULL</code>, the value returned is     * <code>null</code> in the Java programming language     * @exception SQLException if a database access error occurs     * @since 1.6     */    public java.io.Reader getNCharacterStream(String columnName) throws SQLException {       throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());     }      /**     * Updates the designated column with a <code>java.sql.SQLXML</code> value.     * The updater     * methods are used to update column values in the current row or the insert     * row. The updater methods do not update the underlying database; instead     * the <code>updateRow</code> or <code>insertRow</code> methods are called     * to update the database.     * @param columnIndex the first column is 1, the second 2, ...     * @param xmlObject the value for the column to be updated     * @throws SQLException if a database access error occurs     * @since 1.6     */    public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());    }     /**     * Updates the designated column with a <code>java.sql.SQLXML</code> value.     * The updater     * methods are used to update column values in the current row or the insert     * row. The updater methods do not update the underlying database; instead     * the <code>updateRow</code> or <code>insertRow</code> methods are called     * to update the database.     *     * @param columnName the name of the column     * @param xmlObject the column value     * @throws SQLException if a database access occurs     * @since 1.6     */    public void updateSQLXML(String columnName, SQLXML xmlObject) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());    }      /**     * Retrieves the value of the designated column in the current row     * of this <code>ResultSet</code> object as     * a <code>String</code> in the Java programming language.     * It is intended for use when     * accessing  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @return the column value; if the value is SQL <code>NULL</code>, the     * value returned is <code>null</code>     * @exception SQLException if a database access error occurs     * @since 1.6     */    public String getNString(int columnIndex) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());    }     /**     * Retrieves the value of the designated column in the current row     * of this <code>ResultSet</code> object as     * a <code>String</code> in the Java programming language.     * It is intended for use when     * accessing  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * @param columnName the SQL name of the column     * @return the column value; if the value is SQL <code>NULL</code>, the     * value returned is <code>null</code>     * @exception SQLException if a database access error occurs     * @since 1.6     */    public String getNString(String columnName) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());    }      /**       * Updates the designated column with a character stream value, which will       * have the specified number of bytes. The driver does the necessary conversion       * from Java character format to the national character set in the database.       * It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.       * The updater methods are used to update column values in the current row or       * the insert row. The updater methods do not update the underlying database;       * instead the updateRow or insertRow methods are called to update the database.       *       * @param columnIndex - the first column is 1, the second is 2, ...       * @param x - the new column value       * @param length - the length of the stream       * @exception SQLException if a database access error occurs       * @since 1.6       */       public void updateNCharacterStream(int columnIndex,                            java.io.Reader x,                            long length)                            throws SQLException {          throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());       }      /**       * Updates the designated column with a character stream value, which will       * have the specified number of bytes. The driver does the necessary conversion       * from Java character format to the national character set in the database.       * It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.       * The updater methods are used to update column values in the current row or       * the insert row. The updater methods do not update the underlying database;       * instead the updateRow or insertRow methods are called to update the database.       *       * @param columnName - name of the Column       * @param x - the new column value       * @param length - the length of the stream       * @exception SQLException if a database access error occurs       * @since 1.6       */       public void updateNCharacterStream(String columnName,                            java.io.Reader x,                            long length)                            throws SQLException {          throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());       }      /**     * Updates the designated column with a character stream value.   The     * driver does the necessary conversion from Java character format to     * the national character set in the database.     * It is intended for use when     * updating  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateNCharacterStream</code> which takes a length parameter.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param x the new column value     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code> or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateNCharacterStream(int columnIndex,                             java.io.Reader x) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column with a character stream value.  The     * driver does the necessary conversion from Java character format to     * the national character set in the database.     * It is intended for use when     * updating  <code>NCHAR</code>,<code>NVARCHAR</code>     * and <code>LONGNVARCHAR</code> columns.     *     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateNCharacterStream</code> which takes a length parameter.     *     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column     * @param reader the <code>java.io.Reader</code> object containing     *        the new column value     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code> or this method is called on a closed result set      * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateNCharacterStream(String columnLabel,                             java.io.Reader reader) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    } //////////////////////////     /**     * Updates the designated column using the given input stream, which     * will have the specified number of bytes.     * When a very large ASCII value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.InputStream</code>. Data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from ASCII to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param inputStream An object that contains the data to set the parameter     * value to.     * @param length the number of bytes in the parameter data.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException{        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given input stream, which     * will have the specified number of bytes.     * When a very large ASCII value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.InputStream</code>. Data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from ASCII to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column     * @param inputStream An object that contains the data to set the parameter     * value to.     * @param length the number of bytes in the parameter data.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given input stream.     * When a very large ASCII value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.InputStream</code>. Data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from ASCII to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     *     *  <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateBlob</code> which takes a length parameter.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param inputStream An object that contains the data to set the parameter     * value to.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given input stream.     * When a very large ASCII value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.InputStream</code>. Data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from ASCII to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     *   <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateBlob</code> which takes a length parameter.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column     * @param inputStream An object that contains the data to set the parameter     * value to.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given <code>Reader</code>     * object, which is the given number of characters long.     * When a very large UNICODE value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.Reader</code> object. The data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from UNICODE to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param reader An object that contains the data to set the parameter value to.     * @param length the number of characters in the parameter data.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateClob(int columnIndex,  Reader reader, long length) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given <code>Reader</code>     * object, which is the given number of characters long.     * When a very large UNICODE value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.Reader</code> object. The data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from UNICODE to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column     * @param reader An object that contains the data to set the parameter value to.     * @param length the number of characters in the parameter data.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateClob(String columnLabel,  Reader reader, long length) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }    /**     * Updates the designated column using the given <code>Reader</code>     * object.     * When a very large UNICODE value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.Reader</code> object. The data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from UNICODE to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     *   <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateClob</code> which takes a length parameter.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param reader An object that contains the data to set the parameter value to.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateClob(int columnIndex,  Reader reader) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }     /**     * Updates the designated column using the given <code>Reader</code>     * object.     * When a very large UNICODE value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.Reader</code> object. The data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from UNICODE to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     *  <P><B>Note:</B> Consult your JDBC driver documentation to determine if     * it might be more efficient to use a version of     * <code>updateClob</code> which takes a length parameter.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.     *     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column     * @param reader An object that contains the data to set the parameter value to.     * @exception SQLException if a database access error occurs,     * the result set concurrency is <code>CONCUR_READ_ONLY</code>     * or this method is called on a closed result set     * @exception SQLFeatureNotSupportedException if the JDBC driver does not support     * this method     * @since 1.6     */    public void updateClob(String columnLabel,  Reader reader) throws SQLException {        throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString());    }    /**     * Updates the designated column using the given <code>Reader</code>     * object, which is the given number of characters long.     * When a very large UNICODE value is input to a <code>LONGVARCHAR</code>     * parameter, it may be more practical to send it via a     * <code>java.io.Reader</code> object. The data will be read from the stream     * as needed until end-of-file is reached.  The JDBC driver will     * do any necessary conversion from UNICODE to the database char format.     *     * <P><B>Note:</B> This stream object can either be a standard     * Java stream object or your own subclass that implements the     * standard interface.     * <p>     * The updater methods are used to update column values in the     * current row or the insert row.  The updater methods do not     * update the underlying database; instead the <code>updateRow</code> or     * <code>insertRow</code> methods are called to update the database.

Lines 8001–8500 of 10133. Previous lines