/** * Returns the value as an Object. * * @param columnLabel the column label * @return the value */ @Override public Object getObject(String columnLabel) throws SQLException { return getObject(findColumn(columnLabel)); }
/** * Returns the value as an Object of the specified type. * * @param columnName the column name * @param type the class of the returned value * @return the value */ @Override public <T> T getObject(String columnName, Class<T> type) throws SQLException { return getObject(findColumn(columnName), type); }
return type.cast(getTimestamp(columnIndex)); } else if (type == UUID.class) { return type.cast(getObject(columnIndex)); } else if (type == byte[].class) { return type.cast(getBytes(columnIndex));
/** * Returns the value as an Object. * * @param columnLabel the column label * @return the value */ @Override public Object getObject(String columnLabel) throws SQLException { return getObject(findColumn(columnLabel)); }
/** * Returns the value as an Object. * * @return the value */ public Object getObject(String columnName) throws SQLException { return getObject(findColumn(columnName)); }
/** * Returns the value as an Object. * * @param columnLabel the column label * @return the value */ @Override public Object getObject(String columnLabel) throws SQLException { return getObject(findColumn(columnLabel)); }