List of usage examples for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException
public SQLFeatureNotSupportedException(Throwable cause)
SQLFeatureNotSupportedException
object with a given cause
. From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public Clob createClob() throws SQLException { throw new SQLFeatureNotSupportedException("createClob"); }
From source file:io.vitess.jdbc.VitessMySQLDatabaseMetadata.java
public boolean supportsConvert() throws SQLException { throw new SQLFeatureNotSupportedException(Constants.SQLExceptionMessages.SQL_FEATURE_NOT_SUPPORTED); }
From source file:com.micromux.cassandra.jdbc.CassandraConnection.java
public void commit() throws SQLException { checkNotClosed();/*from ww w.j av a 2 s. c om*/ throw new SQLFeatureNotSupportedException(ALWAYS_AUTOCOMMIT); }
From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public Blob createBlob() throws SQLException { throw new SQLFeatureNotSupportedException("createBlob"); }
From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public NClob createNClob() throws SQLException { throw new SQLFeatureNotSupportedException("createNClob"); }
From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public SQLXML createSQLXML() throws SQLException { throw new SQLFeatureNotSupportedException("createSQLXML"); }
From source file:com.github.adejanovski.cassandra.jdbc.CassandraStatement.java
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { checkNotClosed();// w w w . j a v a2 s. co m if (!(autoGeneratedKeys == RETURN_GENERATED_KEYS || autoGeneratedKeys == NO_GENERATED_KEYS)) throw new SQLFeatureNotSupportedException(BAD_AUTO_GEN); return executeUpdate(sql); }
From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public Array createArrayOf(String typeName, Object[] elements) throws SQLException { throw new SQLFeatureNotSupportedException("createArrayOf"); }
From source file:com.facebook.presto.jdbc.PrestoConnection.java
@Override public Struct createStruct(String typeName, Object[] attributes) throws SQLException { throw new SQLFeatureNotSupportedException("createStruct"); }
From source file:net.starschema.clouddb.jdbc.BQStatementRoot.java
/** * <p>/*from w ww . ja v a2 s. c om*/ * <h1>Implementation Details:</h1><br> * Not implemented yet, since Bigquery Does not support precompiled sql * </p> * * @throws BQSQLException */ public ResultSetMetaData getMetaData() throws SQLException { throw new BQSQLException(new SQLFeatureNotSupportedException("getMetaData()")); }