@Override public boolean getBoolean() throws SQLException { try { return delegate.getBoolean(); } 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 boolean getBoolean() throws SQLException { try { return delegate.getBoolean(); } 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.BOOLEAN: case Types.BIT: return componentAccessor.getBoolean(); case Types.TINYINT: return componentAccessor.getByte();
case Types.BIT: case Types.BOOLEAN: final boolean aBoolean = accessor.getBoolean(); if (!aBoolean && accessor.wasNull()) { return null;
case Types.BIT: case Types.BOOLEAN: final boolean aBoolean = accessor.getBoolean(); if (!aBoolean && accessor.wasNull()) { return null;
case Types.BIT: case Types.BOOLEAN: final boolean aBoolean = accessor.getBoolean(); if (!aBoolean && accessor.wasNull()) { return null;
case Types.BOOLEAN: case Types.BIT: return componentAccessor.getBoolean(); case Types.TINYINT: return componentAccessor.getByte();
public boolean getBoolean(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBoolean(); }
public boolean getBoolean(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBoolean(); }
public boolean getBoolean(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBoolean(); }
public boolean getBoolean(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBoolean(); }
public boolean getBoolean(int columnIndex) throws SQLException { return getAccessor(columnIndex).getBoolean(); }
public boolean getBoolean(String columnLabel) throws SQLException { return getAccessor(columnLabel).getBoolean(); }