List<?> list = runnable.getDesignInstance().getDataSet(handle.getDataSetName()).getCachedResultSetColumns();
Iterator<?> columnIterator = list.iterator();
int position = 0;
while (columnIterator.hasNext()) {
IResultSetColumn column = (IResultSetColumn) columnIterator.next();
String name = column.getName();
if (name.equals(columnName)) {
break;
}
position++;
}