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:org.apache.hive.jdbc.HiveStatement.java

@Override
public void setCursorName(String name) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

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

@Override
public void setEscapeProcessing(boolean enable) throws SQLException {
    if (enable) {
        throw new SQLFeatureNotSupportedException("Method not supported");
    }//from w ww  . ja v a 2s. c  o  m
}

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

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

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

@Override
public void setPoolable(boolean poolable) throws SQLException {
    throw new SQLFeatureNotSupportedException("Method not supported");
}

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

public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
        throws SQLException {
    throw new SQLFeatureNotSupportedException(Constants.SQLExceptionMessages.SQL_FEATURE_NOT_SUPPORTED);
}

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

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

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

public void abort(Executor executor) throws SQLException {
    // JDK 1.7/*from w  w  w. ja  v  a 2s  .co m*/
    throw new SQLFeatureNotSupportedException("Method not supported");
}

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

@Override
public void commit() throws SQLException {
    // TODO Auto-generated method stub
    throw new SQLFeatureNotSupportedException("Method not supported");
}

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

@Override
public Array createArrayOf(String arg0, Object[] arg1) throws SQLException {
    // TODO Auto-generated method stub
    throw new SQLFeatureNotSupportedException("Method not supported");
}

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

@Override
public Blob createBlob() throws SQLException {
    // TODO Auto-generated method stub
    throw new SQLFeatureNotSupportedException("Method not supported");
}