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:com.micromux.cassandra.jdbc.CassandraConnection.java

public void setTransactionIsolation(int level) throws SQLException {
    checkNotClosed();/*from w w w .  j av a  2  s .co m*/
    if (level != Connection.TRANSACTION_NONE)
        throw new SQLFeatureNotSupportedException(NO_TRANSACTIONS);
}

From source file:com.micromux.cassandra.jdbc.CassandraConnection.java

public <T> T unwrap(Class<T> iface) throws SQLException {
    throw new SQLFeatureNotSupportedException(String.format(NO_INTERFACE, iface.getSimpleName()));
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int executeUpdate(String sql, String[] columnNames) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public ResultSet getGeneratedKeys() throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int getMaxFieldSize() throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public boolean getMoreResults(int current) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int getResultSetConcurrency() throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

From source file:org.apache.hive.jdbc.HiveStatement.java

@Override
public int getResultSetHoldability() throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}