@Override public BigDecimal getBigDecimal(int scale) throws SQLException { try { return delegate.getBigDecimal(scale); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
@Override public BigDecimal getBigDecimal() throws SQLException { try { return delegate.getBigDecimal(); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
@Override public BigDecimal getBigDecimal(int scale) throws SQLException { try { return delegate.getBigDecimal(scale); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
case Types.DECIMAL: case Types.NUMERIC: return accessor.getBigDecimal(); case Types.DISTINCT: throw notImplemented();
case Types.DECIMAL: case Types.NUMERIC: return accessor.getBigDecimal(); case Types.DISTINCT: throw notImplemented();
return componentAccessor.getBytes(); case Types.DECIMAL: return componentAccessor.getBigDecimal(); case Types.DATE: case Types.TIME:
return componentAccessor.getBytes(); case Types.DECIMAL: return componentAccessor.getBigDecimal(); case Types.DATE: case Types.TIME:
public BigDecimal getBigDecimal(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBigDecimal(); }
public BigDecimal getBigDecimal(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBigDecimal(); }
public BigDecimal getBigDecimal(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBigDecimal(); }
public BigDecimal getBigDecimal(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBigDecimal(); }
public BigDecimal getBigDecimal(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBigDecimal(); }
public BigDecimal getBigDecimal( String columnLabel, int scale) throws SQLException { return getAccessor(columnLabel).getBigDecimal(scale); }
public BigDecimal getBigDecimal(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBigDecimal(); }
@SuppressWarnings("deprecation") public BigDecimal getBigDecimal( String columnLabel, int scale) throws SQLException { return getAccessor(columnLabel).getBigDecimal(scale); }
@Override public BigDecimal getBigDecimal() throws SQLException { try { return delegate.getBigDecimal(); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
@SuppressWarnings("deprecation") public BigDecimal getBigDecimal( String columnLabel, int scale) throws SQLException { return getAccessor(columnLabel).getBigDecimal(scale); }
@SuppressWarnings("deprecation") public BigDecimal getBigDecimal( int columnIndex, int scale) throws SQLException { return getAccessor(columnIndex).getBigDecimal(scale); }
@SuppressWarnings("deprecation") public BigDecimal getBigDecimal( int columnIndex, int scale) throws SQLException { return getAccessor(columnIndex).getBigDecimal(scale); }
public BigDecimal getBigDecimal( int columnIndex, int scale) throws SQLException { return getAccessor(columnIndex).getBigDecimal(scale); }