public Object getValueFromResultSet(ResultSet resultSet, int columnIndex) throws SQLException {
// FIXME: add support for stream updatable types
GenericDataType genericDataType = dataTypeDefinition.getGenericDataType();
if (genericDataType == GenericDataType.BLOB) return new BlobValue(resultSet.getBlob(columnIndex));
if (genericDataType == GenericDataType.CLOB) return new ClobValue(resultSet.getClob(columnIndex));
if (genericDataType == GenericDataType.ROWID) return "[ROWID]";
if (genericDataType == GenericDataType.FILE) return "[FILE]";
Class clazz = dataTypeDefinition.getTypeClass();
if (Number.class.isAssignableFrom(clazz) && resultSet.getString(columnIndex) == null) {