/** * Returns the value as a short. * * @param columnLabel the column label * @return the value */ @Override public short getShort(String columnLabel) throws SQLException { return getShort(findColumn(columnLabel)); }
return type.cast(getByte(columnIndex)); } else if (type == Short.class) { return type.cast(getShort(columnIndex)); } else if (type == Integer.class) { return type.cast(getInt(columnIndex));
/** * Returns the value as a short. * * @param columnLabel the column label * @return the value */ @Override public short getShort(String columnLabel) throws SQLException { return getShort(findColumn(columnLabel)); }
/** * Returns the value as a short. * * @return the value */ public short getShort(String columnName) throws SQLException { return getShort(findColumn(columnName)); }
/** * Returns the value as a short. * * @param columnLabel the column label * @return the value */ @Override public short getShort(String columnLabel) throws SQLException { return getShort(findColumn(columnLabel)); }