/** * Returns the value as a java.sql.Date. * * @param columnLabel the column label * @return the value */ @Override public Date getDate(String columnLabel) throws SQLException { return getDate(findColumn(columnLabel)); }
return type.cast(getDouble(columnIndex)); } else if (type == Date.class) { return type.cast(getDate(columnIndex)); } else if (type == Time.class) { return type.cast(getTime(columnIndex));
/** * Returns the value as a java.sql.Date. * * @return the value */ public Date getDate(String columnName) throws SQLException { return getDate(findColumn(columnName)); }
/** * Returns the value as a java.sql.Date. * * @param columnLabel the column label * @return the value */ @Override public Date getDate(String columnLabel) throws SQLException { return getDate(findColumn(columnLabel)); }
/** * Returns the value as a java.sql.Date. * * @param columnLabel the column label * @return the value */ @Override public Date getDate(String columnLabel) throws SQLException { return getDate(findColumn(columnLabel)); }