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

/**
 * This method is used for updating columns that support National Character sets.
 * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
 * @param columnIndex the first column is 1, the second 2, ...
 * @param nString the value for the column to be updated
 * @throws SQLException if a database access error occurs
 * @since 6.0//from  w  w  w . ja v a2  s . com
 */
public void updateNString(int columnIndex, String nString) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * This method is used for updating columns that support National Character sets.
 * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
 * @param columnName name of the Column/*from www .  ja va  2  s  . co m*/
 * @param nString the value for the column to be updated
 * @throws SQLException if a database access error occurs
 * @since 6.0
 */
public void updateNString(String columnName, String nString) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * This method is used for updating SQL <code>NCLOB</code>  type that maps
 * to <code>java.sql.Types.NCLOB</code>
 * @param columnName name of the column// w  w w.j a v  a2s .c  o m
 * @param nClob the value for the column to be updated
 * @throws SQLException if a database access error occurs
 * @since 6.0
 */
public void updateNClob(String columnName, NClob nClob) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Retrieves the value of the designated column in the current row
 * of this <code>ResultSet</code> object as a <code>NClob</code> object
 * in the Java programming language./*from   w  w  w  . j av  a2  s . c om*/
 *
 * @param i the first column is 1, the second is 2, ...
 * @return a <code>NClob</code> object representing the SQL
 *         <code>NCLOB</code> value in the specified column
 * @exception SQLException if a database access error occurs
 * @since 6.0
 */
public NClob getNClob(int i) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Retrieves the value of the designated column in the current row
 * of this <code>ResultSet</code> object as a <code>NClob</code> object
 * in the Java programming language.//from  w ww.j  a  v  a 2s .co m
 *
 * @param colName the name of the column from which to retrieve the value
 * @return a <code>NClob</code> object representing the SQL <code>NCLOB</code>
 * value in the specified column
 * @exception SQLException if a database access error occurs
 * @since 6.0
 */
public NClob getNClob(String colName) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an
 * SQL <code>XML</code> value when it sends it to the database.
 * @param parameterIndex index of the first parameter is 1, the second is 2, ...
 * @param xmlObject a <code>SQLXML</code> object that maps an SQL <code>XML</code> value
 * @throws SQLException if a database access error occurs
 * @since 1.6//  w  w w  .  j av a 2  s .  c  om
 */
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an
 * <code>SQL XML</code> value when it sends it to the database.
 * @param parameterName the name of the parameter
 * @param xmlObject a <code>SQLXML</code> object that maps an <code>SQL XML</code> value
 * @throws SQLException if a database access error occurs
 * @since 1.6/*w w w.j  ava  2  s .co  m*/
 */
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The
 * driver converts this to a SQL <code>ROWID</code> value when it sends it
 * to the database//w ww .  j a  va2 s .c o m
 *
 * @param parameterIndex the first parameter is 1, the second is 2, ...
 * @param x the parameter value
 * @throws SQLException if a database access error occurs
 *
 * @since 1.6
 */
public void setRowId(int parameterIndex, RowId x) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The
 * driver converts this to a SQL <code>ROWID</code> when it sends it to the
 * database./* w ww . j  a v  a  2  s.co  m*/
 *
 * @param parameterName the name of the parameter
 * @param x the parameter value
 * @throws SQLException if a database access error occurs
 * @since 1.6
 */
public void setRowId(String parameterName, RowId x) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}