src/share/classes/java/sql/PreparedStatement.java

Print this page

        

*** 340,351 **** * @exception SQLException if parameterIndex does not correspond to a parameter * marker in the SQL statement; if a database access error occurs or * this method is called on a closed <code>PreparedStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method ! * @deprecated */ void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException; /** * Sets the designated parameter to the given input stream, which will have --- 340,352 ---- * @exception SQLException if parameterIndex does not correspond to a parameter * marker in the SQL statement; if a database access error occurs or * this method is called on a closed <code>PreparedStatement</code> * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method ! * @deprecated Use {@code setCharacterStream} */ + @Deprecated void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException; /** * Sets the designated parameter to the given input stream, which will have