src/share/classes/javax/sql/rowset/BaseRowSet.java

Print this page

        

*** 366,376 **** /** * The JDBC URL the reader, writer, or both supply to the method * <code>DriverManager.getConnection</code> when the * <code>DriverManager</code> is used to get a connection. * <P> ! * The JDBC URL identifies the driver to be used to make the conndection. * This URL can be found in the documentation supplied by the driver * vendor. * @serial */ private String URL; --- 366,376 ---- /** * The JDBC URL the reader, writer, or both supply to the method * <code>DriverManager.getConnection</code> when the * <code>DriverManager</code> is used to get a connection. * <P> ! * The JDBC URL identifies the driver to be used to make the connection. * This URL can be found in the documentation supplied by the driver * vendor. * @serial */ private String URL;
*** 560,570 **** * <p> * <b>Note</b>: if the <code>RowSetListener</code> object is * <code>null</code>, this method silently discards the <code>null</code> * value and does not add a null reference to the set of listeners. * <p> ! * <b>Note</b>: if the listener is already set, and the new <code>RowSetListerner</code> * instance is added to the set of listeners already registered to receive * event notifications from this <code>RowSet</code>. * * @param listener an object that has implemented the * <code>javax.sql.RowSetListener</code> interface and wants to be notified --- 560,570 ---- * <p> * <b>Note</b>: if the <code>RowSetListener</code> object is * <code>null</code>, this method silently discards the <code>null</code> * value and does not add a null reference to the set of listeners. * <p> ! * <b>Note</b>: if the listener is already set, and the new <code>RowSetListener</code> * instance is added to the set of listeners already registered to receive * event notifications from this <code>RowSet</code>. * * @param listener an object that has implemented the * <code>javax.sql.RowSetListener</code> interface and wants to be notified
*** 1091,1101 **** throw new SQLException("Invalid transaction isolation set. Must " + "be either " + "Connection.TRANSACTION_NONE or " + "Connection.TRANSACTION_READ_UNCOMMITTED or " + "Connection.TRANSACTION_READ_COMMITTED or " + ! "Connection.RRANSACTION_REPEATABLE_READ or " + "Connection.TRANSACTION_SERIALIZABLE"); } this.isolation = level; } --- 1091,1101 ---- throw new SQLException("Invalid transaction isolation set. Must " + "be either " + "Connection.TRANSACTION_NONE or " + "Connection.TRANSACTION_READ_UNCOMMITTED or " + "Connection.TRANSACTION_READ_COMMITTED or " + ! "Connection.TRANSACTION_REPEATABLE_READ or " + "Connection.TRANSACTION_SERIALIZABLE"); } this.isolation = level; }
*** 3208,3218 **** */ public void setNull(String parameterName, int sqlType) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to SQL <code>NULL</code>. * This version of the method <code>setNull</code> should * be used for user-defined types and REF type parameters. Examples * of user-defined types include: STRUCT, DISTINCT, JAVA_OBJECT, and --- 3208,3217 ----
*** 3246,3257 **** public void setNull (String parameterName, int sqlType, String typeName) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given Java <code>boolean</code> value. * The driver converts this * to an SQL <code>BIT</code> or <code>BOOLEAN</code> value when it sends it to the database. * --- 3245,3254 ----
*** 3266,3277 **** */ public void setBoolean(String parameterName, boolean x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given Java <code>byte</code> value. * The driver converts this * to an SQL <code>TINYINT</code> value when it sends it to the database. * --- 3263,3272 ----
*** 3286,3297 **** */ public void setByte(String parameterName, byte x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given Java <code>short</code> value. * The driver converts this * to an SQL <code>SMALLINT</code> value when it sends it to the database. * --- 3281,3290 ----
*** 3306,3316 **** */ public void setShort(String parameterName, short x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given Java <code>int</code> value. * The driver converts this * to an SQL <code>INTEGER</code> value when it sends it to the database. * --- 3299,3308 ----
*** 3344,3354 **** */ public void setLong(String parameterName, long x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given Java <code>float</code> value. * The driver converts this * to an SQL <code>FLOAT</code> value when it sends it to the database. * --- 3336,3345 ----
*** 3363,3373 **** */ public void setFloat(String parameterName, float x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given Java <code>double</code> value. * The driver converts this * to an SQL <code>DOUBLE</code> value when it sends it to the database. * --- 3354,3363 ----
*** 3382,3393 **** */ public void setDouble(String parameterName, double x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given * <code>java.math.BigDecimal</code> value. * The driver converts this to an SQL <code>NUMERIC</code> value when * it sends it to the database. --- 3372,3381 ----
*** 3403,3414 **** */ public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given Java <code>String</code> value. * The driver converts this * to an SQL <code>VARCHAR</code> or <code>LONGVARCHAR</code> value * (depending on the argument's --- 3391,3400 ----
*** 3426,3437 **** */ public void setString(String parameterName, String x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given Java array of bytes. * The driver converts this to an SQL <code>VARBINARY</code> or * <code>LONGVARBINARY</code> (depending on the argument's size relative * to the driver's limits on <code>VARBINARY</code> values) when it sends --- 3412,3421 ----
*** 3448,3459 **** */ public void setBytes(String parameterName, byte x[]) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value. * The driver * converts this to an SQL <code>TIMESTAMP</code> value when it sends it to the * database. --- 3432,3441 ----
*** 3470,3481 **** public void setTimestamp(String parameterName, java.sql.Timestamp x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given input stream, which will have * the specified number of bytes. * When a very large ASCII value is input to a <code>LONGVARCHAR</code> * parameter, it may be more practical to send it via a --- 3452,3461 ----
*** 3499,3509 **** public void setAsciiStream(String parameterName, java.io.InputStream x, int length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given input stream, which will have * the specified number of bytes. * When a very large binary value is input to a <code>LONGVARBINARY</code> * parameter, it may be more practical to send it via a --- 3479,3488 ----
*** 3526,3536 **** public void setBinaryStream(String parameterName, java.io.InputStream x, int length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>Reader</code> * object, which is the given number of characters long. * When a very large UNICODE value is input to a <code>LONGVARCHAR</code> * parameter, it may be more practical to send it via a --- 3505,3514 ----
*** 3556,3566 **** java.io.Reader reader, int length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given input stream. * When a very large ASCII value is input to a <code>LONGVARCHAR</code> * parameter, it may be more practical to send it via a * <code>java.io.InputStream</code>. Data will be read from the stream --- 3534,3543 ----
*** 3584,3594 **** public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given input stream. * When a very large binary value is input to a <code>LONGVARBINARY</code> * parameter, it may be more practical to send it via a * <code>java.io.InputStream</code> object. The data will be read from the --- 3561,3570 ----
*** 3611,3622 **** public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the designated parameter to the given <code>Reader</code> * object. * When a very large UNICODE value is input to a <code>LONGVARCHAR</code> * parameter, it may be more practical to send it via a --- 3587,3596 ----
*** 3642,3652 **** public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter in this <code>RowSet</code> object's command * 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 --- 3616,3625 ----
*** 3670,3681 **** */ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the value of the designated parameter with the given object. The second * argument must be an object type; for integral values, the * <code>java.lang</code> equivalent objects should be used. * --- 3643,3652 ----
*** 3690,3700 **** * <code>Ref</code>, <code>Blob</code>, <code>Clob</code>, <code>NClob</code>, * <code>Struct</code>, <code>java.net.URL</code>, * or <code>Array</code>, the driver should pass it to the database as a * value of the corresponding SQL type. * <P> ! * Note that this method may be used to pass datatabase- * specific abstract data types. * * @param parameterName the name of the parameter * @param x the object containing the input parameter value * @param targetSqlType the SQL type (as defined in java.sql.Types) to be --- 3661,3671 ---- * <code>Ref</code>, <code>Blob</code>, <code>Clob</code>, <code>NClob</code>, * <code>Struct</code>, <code>java.net.URL</code>, * or <code>Array</code>, the driver should pass it to the database as a * value of the corresponding SQL type. * <P> ! * Note that this method may be used to pass database- * specific abstract data types. * * @param parameterName the name of the parameter * @param x the object containing the input parameter value * @param targetSqlType the SQL type (as defined in java.sql.Types) to be
*** 3718,3729 **** public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** * Sets the value of the designated parameter with the given object. * This method is like the method <code>setObject</code> * above, except that it assumes a scale of zero. * --- 3689,3698 ----
*** 3746,3767 **** public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the value of the designated parameter with the given object. * The second parameter must be of type <code>Object</code>; therefore, the * <code>java.lang</code> equivalent objects should be used for built-in types. * * <p>The JDBC specification specifies a standard mapping from * Java <code>Object</code> types to SQL types. The given argument * will be converted to the corresponding SQL type before being * sent to the database. * ! * <p>Note that this method may be used to pass datatabase- * specific abstract data types, by using a driver-specific Java * type. * * If the object is of a class implementing the interface <code>SQLData</code>, * the JDBC driver should call the method <code>SQLData.writeSQL</code> --- 3715,3735 ---- public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the value of the designated parameter with the given object. * The second parameter must be of type <code>Object</code>; therefore, the * <code>java.lang</code> equivalent objects should be used for built-in types. * * <p>The JDBC specification specifies a standard mapping from * Java <code>Object</code> types to SQL types. The given argument * will be converted to the corresponding SQL type before being * sent to the database. * ! * <p>Note that this method may be used to pass database- * specific abstract data types, by using a driver-specific Java * type. * * If the object is of a class implementing the interface <code>SQLData</code>, * the JDBC driver should call the method <code>SQLData.writeSQL</code>
*** 3787,3800 **** */ public void setObject(String parameterName, Object x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - /** ! * Sets the designated parameter to a <code>InputStream</code> object. The inputstream must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. * This method differs from the <code>setBinaryStream (int, InputStream, int)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used, --- 3755,3767 ---- */ public void setObject(String parameterName, Object x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** ! * Sets the designated parameter to a <code>InputStream</code> object. ! * The <code>InputStream</code> must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. * This method differs from the <code>setBinaryStream (int, InputStream, int)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used,
*** 3807,3828 **** * @param length the number of bytes in the parameter data. * @throws SQLException if a database access error occurs, * this method is called on a closed <code>PreparedStatement</code>, * if parameterIndex does not correspond * to a parameter marker in the SQL statement, if the length specified ! * is less than zero or if the number of bytes in the inputstream does not match ! * the specified length. * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * * @since 1.6 */ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>InputStream</code> object. * This method differs from the <code>setBinaryStream (int, InputStream)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used, --- 3774,3794 ---- * @param length the number of bytes in the parameter data. * @throws SQLException if a database access error occurs, * this method is called on a closed <code>PreparedStatement</code>, * if parameterIndex does not correspond * to a parameter marker in the SQL statement, if the length specified ! * is less than zero or if the number of bytes in the ! * <code>InputStream</code> does not match the specified length. * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * * @since 1.6 */ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>InputStream</code> object. * This method differs from the <code>setBinaryStream (int, InputStream)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used,
*** 3848,3860 **** public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** ! * Sets the designated parameter to a <code>InputStream</code> object. The <code>inputstream</code> must contain the number * of characters specified by length, otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed. * This method differs from the <code>setBinaryStream (int, InputStream, int)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used, --- 3814,3826 ---- public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** ! * Sets the designated parameter to a <code>InputStream</code> object. ! * The <code>Inputstream</code> must contain the number * of characters specified by length, otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed. * This method differs from the <code>setBinaryStream (int, InputStream, int)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used,
*** 3867,3877 **** * @param inputStream An object that contains the data to set the parameter * value to. * @param length the number of bytes in the parameter data. * @throws SQLException if parameterIndex does not correspond * to a parameter marker in the SQL statement, or if the length specified ! * is less than zero; if the number of bytes in the inputstream does not match * the specified length; if a database access error occurs or * this method is called on a closed <code>CallableStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * --- 3833,3843 ---- * @param inputStream An object that contains the data to set the parameter * value to. * @param length the number of bytes in the parameter data. * @throws SQLException if parameterIndex does not correspond * to a parameter marker in the SQL statement, or if the length specified ! * is less than zero; if the number of bytes in the <code>InputStream</code> does not match * the specified length; if a database access error occurs or * this method is called on a closed <code>CallableStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method *
*** 3880,3890 **** public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Blob</code> object. * The driver converts this to an SQL <code>BLOB</code> value when it * sends it to the database. * --- 3846,3855 ----
*** 3898,3908 **** */ public void setBlob (String parameterName, Blob x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>InputStream</code> object. * This method differs from the <code>setBinaryStream (int, InputStream)</code> * method because it informs the driver that the parameter value should be * sent to the server as a <code>BLOB</code>. When the <code>setBinaryStream</code> method is used, --- 3863,3872 ----
*** 3925,3940 **** public void setBlob(String parameterName, InputStream inputStream) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** ! * Sets the designated parameter to a <code>Reader</code> object. The reader must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. ! *This method differs from the <code>setCharacterStream (int, Reader, int)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the * driver may have to do extra work to determine whether the parameter * data should be sent to the server as a <code>LONGVARCHAR</code> or a <code>CLOB</code> * @param parameterIndex index of the first parameter is 1, the second is 2, ... --- 3889,3904 ---- public void setBlob(String parameterName, InputStream inputStream) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** ! * Sets the designated parameter to a <code>Reader</code> object. ! * The reader must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. ! * This method differs from the <code>setCharacterStream (int, Reader, int)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the * driver may have to do extra work to determine whether the parameter * data should be sent to the server as a <code>LONGVARCHAR</code> or a <code>CLOB</code> * @param parameterIndex index of the first parameter is 1, the second is 2, ...
*** 3950,3961 **** public void setClob(int parameterIndex, Reader reader, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } ! ! /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the * driver may have to do extra work to determine whether the parameter --- 3914,3924 ---- public void setClob(int parameterIndex, Reader reader, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } ! /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the * driver may have to do extra work to determine whether the parameter
*** 3977,3989 **** public void setClob(int parameterIndex, Reader reader) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** ! * Sets the designated parameter to a <code>Reader</code> object. The <code>reader</code> must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed. * This method differs from the <code>setCharacterStream (int, Reader, int)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the --- 3940,3952 ---- public void setClob(int parameterIndex, Reader reader) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** ! * Sets the designated parameter to a <code>Reader</code> object. ! * The <code>reader</code> must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed. * This method differs from the <code>setCharacterStream (int, Reader, int)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the
*** 4000,4014 **** * this method * * @since 1.6 */ public void setClob(String parameterName, Reader reader, long length) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Clob</code> object. * The driver converts this to an SQL <code>CLOB</code> value when it * sends it to the database. * --- 3963,3976 ---- * this method * * @since 1.6 */ public void setClob(String parameterName, Reader reader, long length) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Clob</code> object. * The driver converts this to an SQL <code>CLOB</code> value when it * sends it to the database. *
*** 4018,4032 **** * this method is called on a closed <code>CallableStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ ! public void setClob (String parameterName, Clob x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the --- 3980,3993 ---- * this method is called on a closed <code>CallableStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ ! public void setClob (String parameterName, Clob x) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>CLOB</code>. When the <code>setCharacterStream</code> method is used, the
*** 4043,4058 **** * a closed <code>CallableStatement</code> * * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ ! public void setClob(String parameterName, Reader reader) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Date</code> value * using the default time zone of the virtual machine that is running * the application. * The driver converts this --- 4004,4017 ---- * a closed <code>CallableStatement</code> * * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ ! public void setClob(String parameterName, Reader reader) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Date</code> value * using the default time zone of the virtual machine that is running * the application. * The driver converts this
*** 4066,4080 **** * this method * @see #getParams * @since 1.4 */ public void setDate(String parameterName, java.sql.Date x) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Date</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>DATE</code> value, * which the driver then sends to the database. With a --- 4025,4038 ---- * this method * @see #getParams * @since 1.4 */ public void setDate(String parameterName, java.sql.Date x) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Date</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>DATE</code> value, * which the driver then sends to the database. With a
*** 4093,4107 **** * this method * @see #getParams * @since 1.4 */ public void setDate(String parameterName, java.sql.Date x, Calendar cal) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Time</code> value. * The driver converts this * to an SQL <code>TIME</code> value when it sends it to the database. * --- 4051,4064 ---- * this method * @see #getParams * @since 1.4 */ public void setDate(String parameterName, java.sql.Date x, Calendar cal) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Time</code> value. * The driver converts this * to an SQL <code>TIME</code> value when it sends it to the database. *
*** 4113,4127 **** * this method * @see #getParams * @since 1.4 */ public void setTime(String parameterName, java.sql.Time x) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Time</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>TIME</code> value, * which the driver then sends to the database. With a --- 4070,4083 ---- * this method * @see #getParams * @since 1.4 */ public void setTime(String parameterName, java.sql.Time x) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Time</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>TIME</code> value, * which the driver then sends to the database. With a
*** 4140,4154 **** * this method * @see #getParams * @since 1.4 */ public void setTime(String parameterName, java.sql.Time x, Calendar cal) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>TIMESTAMP</code> value, * which the driver then sends to the database. With a --- 4096,4109 ---- * this method * @see #getParams * @since 1.4 */ public void setTime(String parameterName, java.sql.Time x, Calendar cal) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value, * using the given <code>Calendar</code> object. The driver uses * the <code>Calendar</code> object to construct an SQL <code>TIMESTAMP</code> value, * which the driver then sends to the database. With a
*** 4167,4181 **** * this method * @see #getParams * @since 1.4 */ public void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an * SQL <code>XML</code> value when it sends it to the database. * @param parameterIndex index of the first parameter is 1, the second is 2, ... * @param xmlObject a <code>SQLXML</code> object that maps an SQL <code>XML</code> value --- 4122,4135 ---- * this method * @see #getParams * @since 1.4 */ public void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an * SQL <code>XML</code> value when it sends it to the database. * @param parameterIndex index of the first parameter is 1, the second is 2, ... * @param xmlObject a <code>SQLXML</code> object that maps an SQL <code>XML</code> value
*** 4189,4203 **** * stream does not contain valid XML. * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an * <code>SQL XML</code> value when it sends it to the database. * @param parameterName the name of the parameter * @param xmlObject a <code>SQLXML</code> object that maps an <code>SQL XML</code> value --- 4143,4156 ---- * stream does not contain valid XML. * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.SQLXML</code> object. The driver converts this to an * <code>SQL XML</code> value when it sends it to the database. * @param parameterName the name of the parameter * @param xmlObject a <code>SQLXML</code> object that maps an <code>SQL XML</code> value
*** 4211,4225 **** * stream does not contain valid XML. * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The * driver converts this to a SQL <code>ROWID</code> value when it sends it * to the database * --- 4164,4177 ---- * stream does not contain valid XML. * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The * driver converts this to a SQL <code>ROWID</code> value when it sends it * to the database *
*** 4229,4243 **** * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * * @since 1.6 */ ! public void setRowId(int parameterIndex, RowId x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The * driver converts this to a SQL <code>ROWID</code> when it sends it to the * database. * --- 4181,4194 ---- * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * * @since 1.6 */ ! public void setRowId(int parameterIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.sql.RowId</code> object. The * driver converts this to a SQL <code>ROWID</code> when it sends it to the * database. *
*** 4246,4256 **** * @throws SQLException if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setRowId(String parameterName, RowId x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>String</code> object. --- 4197,4207 ---- * @throws SQLException if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setRowId(String parameterName, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>String</code> object.
*** 4267,4281 **** * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNString(int parameterIndex, String value) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>String</code> object. * The driver converts this to a SQL <code>NCHAR</code> or * <code>NVARCHAR</code> or <code>LONGNVARCHAR</code> * @param parameterName the name of the column to be set --- 4218,4231 ---- * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNString(int parameterIndex, String value) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>String</code> object. * The driver converts this to a SQL <code>NCHAR</code> or * <code>NVARCHAR</code> or <code>LONGNVARCHAR</code> * @param parameterName the name of the column to be set
*** 4285,4300 **** * error could occur; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNString(String parameterName, String value) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * 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. --- 4235,4248 ---- * error could occur; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNString(String parameterName, String value) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * 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.
*** 4306,4320 **** * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * 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. --- 4254,4268 ---- * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNCharacterStream(int parameterIndex, Reader value, long length) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * 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.
*** 4327,4347 **** * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ public void setNCharacterStream(String parameterName, Reader value, long length) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * 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. - * <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 --- 4275,4293 ---- * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ public void setNCharacterStream(String parameterName, Reader value, long length) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * 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. * <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
*** 4354,4368 **** * error could occur ; if a database access error occurs; or * this method is called on a closed <code>CallableStatement</code> * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ ! public void setNCharacterStream(String parameterName, Reader value) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * 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 --- 4300,4314 ---- * error could occur ; if a database access error occurs; or * this method is called on a closed <code>CallableStatement</code> * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ ! public void setNCharacterStream(String parameterName, Reader value) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * 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
*** 4372,4386 **** * error could occur; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNClob(String parameterName, NClob value) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>Reader</code> object. The <code>reader</code> must contain * the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed. --- 4318,4331 ---- * error could occur; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNClob(String parameterName, NClob value) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>Reader</code> object. The <code>reader</code> must contain * the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>CallableStatement</code> is executed.
*** 4402,4416 **** * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ public void setNClob(String parameterName, Reader reader, long length) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>NCLOB</code>. When the <code>setCharacterStream</code> method is used, the --- 4347,4360 ---- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ public void setNClob(String parameterName, Reader reader, long length) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>NCLOB</code>. When the <code>setCharacterStream</code> method is used, the
*** 4428,4443 **** * this method is called on a closed <code>CallableStatement</code> * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * * @since 1.6 */ ! public void setNClob(String parameterName, Reader reader) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>Reader</code> object. The reader must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. * This method differs from the <code>setCharacterStream (int, Reader, int)</code> method --- 4372,4385 ---- * this method is called on a closed <code>CallableStatement</code> * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * * @since 1.6 */ ! public void setNClob(String parameterName, Reader reader) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>Reader</code> object. The reader must contain the number * of characters specified by length otherwise a <code>SQLException</code> will be * generated when the <code>PreparedStatement</code> is executed. * This method differs from the <code>setCharacterStream (int, Reader, int)</code> method
*** 4458,4472 **** * support this method * * @since 1.6 */ public void setNClob(int parameterIndex, Reader reader, long length) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>java.sql.NClob</code> object. The driver converts this oa * SQL <code>NCLOB</code> value when it sends it to the database. * @param parameterIndex of the first parameter is 1, the second is 2, ... * @param value the parameter value --- 4400,4413 ---- * support this method * * @since 1.6 */ public void setNClob(int parameterIndex, Reader reader, long length) ! throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>java.sql.NClob</code> object. The driver converts this oa * SQL <code>NCLOB</code> value when it sends it to the database. * @param parameterIndex of the first parameter is 1, the second is 2, ... * @param value the parameter value
*** 4475,4489 **** * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNClob(int parameterIndex, NClob value) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>NCLOB</code>. When the <code>setCharacterStream</code> method is used, the --- 4416,4429 ---- * error could occur ; or if a database access error occurs * @throws SQLFeatureNotSupportedException if the JDBC driver does not * support this method * @since 1.6 */ ! public void setNClob(int parameterIndex, NClob value) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to a <code>Reader</code> object. * This method differs from the <code>setCharacterStream (int, Reader)</code> method * because it informs the driver that the parameter value should be sent to * the server as a <code>NCLOB</code>. When the <code>setCharacterStream</code> method is used, the
*** 4503,4518 **** * 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 setNClob(int parameterIndex, Reader reader) ! throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - /** * Sets the designated parameter to the given <code>java.net.URL</code> value. * The driver converts this to an SQL <code>DATALINK</code> value * when it sends it to the database. * --- 4443,4456 ---- * 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 setNClob(int parameterIndex, Reader reader)throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } /** * Sets the designated parameter to the given <code>java.net.URL</code> value. * The driver converts this to an SQL <code>DATALINK</code> value * when it sends it to the database. *
*** 4521,4534 **** * @exception SQLException 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.4 */ ! public void setURL(int parameterIndex, java.net.URL x) throws SQLException{ throw new SQLFeatureNotSupportedException("Feature not supported"); } - - static final long serialVersionUID = 4886719666485113312L; } //end class --- 4459,4470 ---- * @exception SQLException 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.4 */ ! public void setURL(int parameterIndex, java.net.URL x) throws SQLException { throw new SQLFeatureNotSupportedException("Feature not supported"); } static final long serialVersionUID = 4886719666485113312L; } //end class \ No newline at end of file