public void setAttributesToFetch(NSArray<EOAttribute> attributes) {
_attributes = attributes;
int j;
if (_attributes == null || (j = _attributes.count()) == 0)
return;
ERXJDBCColumn columns[] = new ERXJDBCColumn[j];
for (int i = 0; i < j; i++)
columns[i] = newERXJDBCColumn(_attributes.objectAtIndex(i), this, i + 1, _resultSet);
_selectedColumns = new NSArray(columns);
}