@Override public int getInt() throws SQLException { try { return delegate.getInt(); } 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 int getInt() throws SQLException { try { return delegate.getInt(); } 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.getShort(); case Types.INTEGER: return componentAccessor.getInt(); case Types.BIGINT: return componentAccessor.getLong();
final int anInt = accessor.getInt(); if (anInt == 0 && accessor.wasNull()) { return null;
final int anInt = accessor.getInt(); if (anInt == 0 && accessor.wasNull()) { return null;
final int anInt = accessor.getInt(); if (anInt == 0 && accessor.wasNull()) { return null;
return componentAccessor.getShort(); case Types.INTEGER: return componentAccessor.getInt(); case Types.BIGINT: return componentAccessor.getLong();
public int getInt(String columnLabel) throws SQLException { return getAccessor(columnLabel).getInt(); }
public int getInt(int columnIndex) throws SQLException { return getAccessor(columnIndex).getInt(); }
public int getInt(int columnIndex) throws SQLException { return getAccessor(columnIndex).getInt(); }
public int getInt(int columnIndex) throws SQLException { return getAccessor(columnIndex).getInt(); }
public int getInt(String columnLabel) throws SQLException { return getAccessor(columnLabel).getInt(); }
public int getInt(String columnLabel) throws SQLException { return getAccessor(columnLabel).getInt(); }