@Override public float getFloat() throws SQLException { try { return delegate.getFloat(); } 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 float getFloat() throws SQLException { try { return delegate.getFloat(); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
return componentAccessor.getLong(); case Types.FLOAT: return componentAccessor.getFloat(); case Types.DOUBLE: return componentAccessor.getDouble();
return accessor.getString(); case Types.REAL: final float aFloat = accessor.getFloat(); if (aFloat == 0 && accessor.wasNull()) { return null;
return accessor.getString(); case Types.REAL: final float aFloat = accessor.getFloat(); if (aFloat == 0 && accessor.wasNull()) { return null;
return accessor.getString(); case Types.REAL: final float aFloat = accessor.getFloat(); if (aFloat == 0 && accessor.wasNull()) { return null;
return componentAccessor.getLong(); case Types.FLOAT: return componentAccessor.getFloat(); case Types.DOUBLE: return componentAccessor.getDouble();
public float getFloat(int columnIndex) throws SQLException { return getAccessor(columnIndex).getFloat(); }
public float getFloat(String columnLabel) throws SQLException { return getAccessor(columnLabel).getFloat(); }
public float getFloat(String columnLabel) throws SQLException { return getAccessor(columnLabel).getFloat(); }
public float getFloat(int columnIndex) throws SQLException { return getAccessor(columnIndex).getFloat(); }
public float getFloat(String columnLabel) throws SQLException { return getAccessor(columnLabel).getFloat(); }
public float getFloat(int columnIndex) throws SQLException { return getAccessor(columnIndex).getFloat(); }