List of usage examples for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException
public SQLFeatureNotSupportedException()
SQLFeatureNotSupportedException
object. From source file:com.taobao.adfs.database.tdhsocket.client.response.TDHSResutSet.java
public String getCursorName() throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:com.taobao.adfs.database.tdhsocket.client.response.TDHSResutSet.java
public ResultSetMetaData getMetaData() throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:org.apache.openejb.resource.jdbc.dbcp.BasicDataSource.java
public Logger getParentLogger() throws SQLFeatureNotSupportedException { final ReentrantLock l = lock; l.lock();/*from w w w . j a v a 2s . c om*/ try { if (null == this.logger) { this.logger = (Logger) Reflections.invokeByReflection(super.dataSource, "getParentLogger", new Class<?>[0], null); } return this.logger; } catch (final Throwable e) { throw new SQLFeatureNotSupportedException(); } finally { l.unlock(); } }
From source file:org.apache.openejb.resource.jdbc.dbcp.BasicManagedDataSource.java
public Logger getParentLogger() throws SQLFeatureNotSupportedException { final ReentrantLock l = lock; l.lock();//from w w w. j ava 2s .c o m try { if (null == this.logger) { this.logger = (Logger) DataSource.class.getDeclaredMethod("getParentLogger") .invoke(super.dataSource); } return this.logger; } catch (final Throwable e) { throw new SQLFeatureNotSupportedException(); } finally { l.unlock(); } }
From source file:com.taobao.tdhs.jdbc.TDHSPreparedStatement.java
public ParameterMetaData getParameterMetaData() throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:org.apache.phoenix.jdbc.PhoenixResultSet.java
@Override public InputStream getBinaryStream(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:com.taobao.tdhs.jdbc.TDHSPreparedStatement.java
public void setRowId(int parameterIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:org.apache.phoenix.jdbc.PhoenixResultSet.java
@Override public InputStream getBinaryStream(String columnLabel) throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:com.taobao.tdhs.jdbc.TDHSPreparedStatement.java
public void setNString(int parameterIndex, String value) throws SQLException { throw new SQLFeatureNotSupportedException(); }
From source file:org.apache.phoenix.jdbc.PhoenixResultSet.java
@Override public Blob getBlob(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(); }