equal
deleted
inserted
replaced
2037 * result is <code>null</code> |
2037 * result is <code>null</code> |
2038 * @throws SQLException if the given column index is out of bounds, |
2038 * @throws SQLException if the given column index is out of bounds, |
2039 * the cursor is not on a valid row, or this method fails |
2039 * the cursor is not on a valid row, or this method fails |
2040 * @deprecated |
2040 * @deprecated |
2041 */ |
2041 */ |
|
2042 @Deprecated |
2042 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { |
2043 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { |
2043 Object value; |
2044 Object value; |
2044 BigDecimal bDecimal, retVal; |
2045 BigDecimal bDecimal, retVal; |
2045 |
2046 |
2046 // sanity check. |
2047 // sanity check. |
2372 * as a stream of two byte Unicode characters. If the value is SQL NULL |
2373 * as a stream of two byte Unicode characters. If the value is SQL NULL |
2373 * then the result is null. |
2374 * then the result is null. |
2374 * @throws SQLException if an error occurs |
2375 * @throws SQLException if an error occurs |
2375 * @deprecated |
2376 * @deprecated |
2376 */ |
2377 */ |
|
2378 @Deprecated |
2377 public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { |
2379 public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { |
2378 // always free an old stream |
2380 // always free an old stream |
2379 unicodeStream = null; |
2381 unicodeStream = null; |
2380 |
2382 |
2381 // sanity check. |
2383 // sanity check. |
2641 * designates the recommended return type that this method is used to |
2643 * designates the recommended return type that this method is used to |
2642 * retrieve. |
2644 * retrieve. |
2643 * @deprecated Use the <code>getBigDecimal(String columnName)</code> |
2645 * @deprecated Use the <code>getBigDecimal(String columnName)</code> |
2644 * method instead |
2646 * method instead |
2645 */ |
2647 */ |
|
2648 @Deprecated |
2646 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { |
2649 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { |
2647 return getBigDecimal(getColIdxByName(columnName), scale); |
2650 return getBigDecimal(getColIdxByName(columnName), scale); |
2648 } |
2651 } |
2649 |
2652 |
2650 /** |
2653 /** |
2772 * @throws SQLException if the given column name does not match one of |
2775 * @throws SQLException if the given column name does not match one of |
2773 * this rowset's column names or the cursor is not on one of |
2776 * this rowset's column names or the cursor is not on one of |
2774 * this rowset's rows or its insert row |
2777 * this rowset's rows or its insert row |
2775 * @deprecated use the method <code>getCharacterStream</code> instead |
2778 * @deprecated use the method <code>getCharacterStream</code> instead |
2776 */ |
2779 */ |
|
2780 @Deprecated |
2777 public java.io.InputStream getUnicodeStream(String columnName) throws SQLException { |
2781 public java.io.InputStream getUnicodeStream(String columnName) throws SQLException { |
2778 return getUnicodeStream(getColIdxByName(columnName)); |
2782 return getUnicodeStream(getColIdxByName(columnName)); |
2779 } |
2783 } |
2780 |
2784 |
2781 /** |
2785 /** |