src/share/classes/com/sun/rowset/CachedRowSetImpl.java
Print this page
*** 2037,2046 ****
--- 2037,2047 ----
* result is <code>null</code>
* @throws SQLException if the given column index is out of bounds,
* the cursor is not on a valid row, or this method fails
* @deprecated
*/
+ @Deprecated
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
Object value;
BigDecimal bDecimal, retVal;
// sanity check.
*** 2372,2381 ****
--- 2373,2383 ----
* as a stream of two byte Unicode characters. If the value is SQL NULL
* then the result is null.
* @throws SQLException if an error occurs
* @deprecated
*/
+ @Deprecated
public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {
// always free an old stream
unicodeStream = null;
// sanity check.
*** 2641,2650 ****
--- 2643,2653 ----
* designates the recommended return type that this method is used to
* retrieve.
* @deprecated Use the <code>getBigDecimal(String columnName)</code>
* method instead
*/
+ @Deprecated
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {
return getBigDecimal(getColIdxByName(columnName), scale);
}
/**
*** 2772,2781 ****
--- 2775,2785 ----
* @throws SQLException if the given column name does not match one of
* this rowset's column names or the cursor is not on one of
* this rowset's rows or its insert row
* @deprecated use the method <code>getCharacterStream</code> instead
*/
+ @Deprecated
public java.io.InputStream getUnicodeStream(String columnName) throws SQLException {
return getUnicodeStream(getColIdxByName(columnName));
}
/**