List of usage examples for java.sql SQLFeatureNotSupportedException SQLFeatureNotSupportedException
public SQLFeatureNotSupportedException(Throwable cause)
SQLFeatureNotSupportedException
object with a given cause
. From source file:lasige.steeldb.jdbc.BFTRowSet.java
/** * Sets the designated parameter to a <code>Reader</code> object. The * <code>Reader</code> reads the data till end-of-file is reached. The * driver does the necessary conversion from Java character format to * the national character set in the database. /* w w w. ja v a2s . co m*/ * <P><B>Note:</B> This stream object can either be a standard * Java stream object or your own subclass that implements the * standard interface. * <P><B>Note:</B> Consult your JDBC driver documentation to determine if * it might be more efficient to use a version of * <code>setNCharacterStream</code> which takes a length parameter. * * @param parameterIndex of the first parameter is 1, the second is 2, ... * @param value the parameter value * @throws SQLException if the driver does not support national * character sets; if the driver can detect that a data conversion * error could occur ; if a database access error occurs; or * this method is called on a closed <code>PreparedStatement</code> * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException { throw new SQLFeatureNotSupportedException( resBundle.handleGetObject("cachedrowsetimpl.featnotsupp").toString()); }
From source file:lasige.steeldb.jdbc.BFTRowSet.java
/** * Sets the designated parameter to a <code>java.sql.NClob</code> object. The object * implements the <code>java.sql.NClob</code> interface. This <code>NClob</code> * object maps to a SQL <code>NCLOB</code>. * @param parameterName the name of the column to be set * @param value the parameter value//from w ww . j av a2s . c om * @throws SQLException if the driver does not support national * character sets; if the driver can detect that a data conversion * error could occur; or if a database access error occurs * @since 1.6 */ public void setNClob(String parameterName, NClob value) 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 * <code>java.io.Reader</code> object. * It is intended for use when/*from ww w. j a v a 2s .c o m*/ * accessing <code>NCHAR</code>,<code>NVARCHAR</code> * and <code>LONGNVARCHAR</code> columns. * * @return a <code>java.io.Reader</code> object that contains the column * value; if the value is SQL <code>NULL</code>, the value returned is * <code>null</code> in the Java programming language. * @param columnIndex the first column is 1, the second is 2, ... * @exception SQLException if a database access error occurs * @since 1.6 */ public java.io.Reader getNCharacterStream(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 * <code>java.io.Reader</code> object. * It is intended for use when/*from w ww . j a v a 2s .co m*/ * accessing <code>NCHAR</code>,<code>NVARCHAR</code> * and <code>LONGNVARCHAR</code> columns. * * @param columnName the name of the column * @return a <code>java.io.Reader</code> object that contains the column * value; if the value is SQL <code>NULL</code>, the value returned is * <code>null</code> in the Java programming language * @exception SQLException if a database access error occurs * @since 1.6 */ public java.io.Reader getNCharacterStream(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>java.sql.SQLXML</code> value. * The updater//from w w w .ja va2 s. c o m * 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. * @param columnIndex the first column is 1, the second 2, ... * @param xmlObject the value for the column to be updated * @throws SQLException if a database access error occurs * @since 1.6 */ public void updateSQLXML(int columnIndex, SQLXML xmlObject) 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>java.sql.SQLXML</code> value. * The updater//from w w w . ja v a 2 s .c o m * 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. * * @param columnName the name of the column * @param xmlObject the column value * @throws SQLException if a database access occurs * @since 1.6 */ public void updateSQLXML(String columnName, SQLXML xmlObject) 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 <code>String</code> in the Java programming language. * It is intended for use when/*from www. j a v a 2 s . com*/ * accessing <code>NCHAR</code>,<code>NVARCHAR</code> * and <code>LONGNVARCHAR</code> columns. * * @param columnIndex the first column is 1, the second is 2, ... * @return the column value; if the value is SQL <code>NULL</code>, the * value returned is <code>null</code> * @exception SQLException if a database access error occurs * @since 1.6 */ public String getNString(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 <code>String</code> in the Java programming language. * It is intended for use when//from www. jav a2s. co m * accessing <code>NCHAR</code>,<code>NVARCHAR</code> * and <code>LONGNVARCHAR</code> columns. * * @param columnName the SQL name of the column * @return the column value; if the value is SQL <code>NULL</code>, the * value returned is <code>null</code> * @exception SQLException if a database access error occurs * @since 1.6 */ public String getNString(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 character stream value, which will * have the specified number of bytes. The driver does the necessary conversion * from Java character format to the national character set in the database. * It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * 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 updateRow or insertRow methods are called to update the database. * * @param columnIndex - the first column is 1, the second is 2, ... * @param x - the new column value/*from ww w.j a va 2 s . c o m*/ * @param length - the length of the stream * @exception SQLException if a database access error occurs * @since 1.6 */ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { throw new SQLFeatureNotSupportedException( resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
From source file:lasige.steeldb.jdbc.BFTRowSet.java
/** * Updates the designated column with a character stream value, which will * have the specified number of bytes. The driver does the necessary conversion * from Java character format to the national character set in the database. * It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * 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 updateRow or insertRow methods are called to update the database. * * @param columnName - name of the Column * @param x - the new column value//from w w w . ja v a2 s. com * @param length - the length of the stream * @exception SQLException if a database access error occurs * @since 1.6 */ public void updateNCharacterStream(String columnName, java.io.Reader x, long length) throws SQLException { throw new SQLFeatureNotSupportedException( resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }