Example usage for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException

List of usage examples for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException

Introduction

In this page you can find the example usage for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException.

Prototype

public SQLFeatureNotSupportedException(Throwable cause) 

Source Link

Document

Constructs a SQLFeatureNotSupportedException object with a given cause.

Usage

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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/* w  w  w.  j  av a  2  s  .c o m*/
 * 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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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/* w w w  .  j a v a  2s  . com*/
 * 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 la
bel 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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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./*from ww  w . j  ava2s .  c om*/
 * <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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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.//  w ww .  j a  v  a  2  s.  c  om
 * <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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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./*w  w w .j  a  va 2s  .  c  o  m*/
 *
 *  <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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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./*from www .ja  v a2  s . co m*/
 *   <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 la
bel 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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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./*from  w  w w . ja  va2s  .c  om*/
 * <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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * 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.//from w  w  w .  jav a2s  .  c om
 * <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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * Updates the designated column using the given <code>Reader</code>
 * object.//from w  ww  . j av a2 s  . c  o m
 * 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());
}

From source file:lasige.steeldb.jdbc.BFTRowSet.java

/**
 * Updates the designated column using the given <code>Reader</code>
 * object./*from   w  ww.j a v a  2s  . c o  m*/
 * 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 la
bel 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());
}