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:io.vitess.jdbc.VitessMySQLDatabaseMetadata.java

public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern)
        throws SQLException {
    throw new SQLFeatureNotSupportedException(Constants.SQLExceptionMessages.SQL_FEATURE_NOT_SUPPORTED);
}

From source file:io.vitess.jdbc.VitessMySQLDatabaseMetadata.java

public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern,
        String columnNamePattern) throws SQLException {
    throw new SQLFeatureNotSupportedException(Constants.SQLExceptionMessages.SQL_FEATURE_NOT_SUPPORTED);
}

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

/**
 * Retrieves the value of the designated <code>SQL XML</code> parameter as a
 * <code>SQLXML</code> object in the Java programming language.
 * @param columnIndex the first column is 1, the second is 2, ...
 * @return a SQLXML object that maps an SQL XML value
 * @throws SQLException if a database access error occurs
 * @since 6.0//from w  w  w .  j  a v  a2 s.c  om
 */
public SQLXML getSQLXML(int columnIndex) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Retrieves the value of the designated <code>SQL XML</code> parameter as a
 * <code>SQLXML</code> object in the Java programming language.
 * @param colName the name of the column from which to retrieve the value
 * @return a SQLXML object that maps an SQL XML value
 * @throws SQLException if a database access error occurs
 *//* w  ww  .j  a v a 2  s .c  o  m*/
public SQLXML getSQLXML(String colName) 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 java.sql.RowId object in the Java
 * programming language./*from  w w  w.  j  a  v a  2s  .c o m*/
 *
 * @param columnIndex the first column is 1, the second 2, ...
 * @return the column value if the value is a SQL <code>NULL</code> the
 *     value returned is <code>null</code>
 * @throws SQLException if a database access error occurs
 * @since 6.0
 */
public RowId getRowId(int columnIndex) 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 java.sql.RowId object in the Java
 * programming language./*  www.ja  va  2  s  .  co  m*/
 *
 * @param columnName the name of the column
 * @return the column value if the value is a SQL <code>NULL</code> the
 *     value returned is <code>null</code>
 * @throws SQLException if a database access error occurs
 * @since 6.0
 */
public RowId getRowId(String columnName) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Updates the designated column with a <code>RowId</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.// w  w  w . j av a  2  s .co  m
 *
 * @param columnIndex the first column is 1, the second 2, ...
 * @param x the column value
 * @throws SQLException if a database access occurs
 * @since 6.0
 */
public void updateRowId(int columnIndex, RowId x) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Updates the designated column with a <code>RowId</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.//from   w w  w  . j  a  va2s  . com
 *
 * @param columnName the name of the column
 * @param x the column value
 * @throws SQLException if a database access occurs
 * @since 6.0
 */
public void updateRowId(String columnName, RowId x) throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Retrieves the holdability of this ResultSet object
 * @return  either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
 * @throws SQLException if a database error occurs
 * @since 6.0/*from  ww w  . j a  v  a 2s  . com*/
 */
public int getHoldability() throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}

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

/**
 * Retrieves whether this ResultSet object has been closed. A ResultSet is closed if the
 * method close has been called on it, or if it is automatically closed.
 * @return true if this ResultSet object is closed; false if it is still open
 * @throws SQLException if a database access error occurs
 * @since 6.0//from  w  ww.j av a2 s.  com
 */
public boolean isClosed() throws SQLException {
    throw new SQLFeatureNotSupportedException(
            resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString());
}