use of org.jkiss.dbeaver.ext.generic.model.meta.GenericMetaColumn in project dbeaver by serge-rider.
the class GenericUtils method getColumn.
public static Object getColumn(GenericDataSource dataSource, String objectType, String columnId) {
GenericMetaObject object = dataSource.getMetaObject(objectType);
if (object == null) {
return columnId;
}
GenericMetaColumn column = object.getColumn(columnId);
if (column == null || !column.isSupported()) {
return columnId;
}
return column.getColumnIdentifier();
}
Aggregations