IDataSet dataSet = runnable.getDesignInstance().getDataSet(handle.getDataSetName());
String queryText = dataSet.getQueryText();
String sortByColumn = extractSqlColumn(handle.getSortByColumn());
queryText += " order by " + sortByColumn;
queryText += " " + handle.getSortDirection();
Query query = em.createNativeQuery(queryText);
Iterator<?> iterator = query.getResultList().iterator();
while (iterator.hasNext()) {
Object object[] = (Object[]) iterator.next();
LabelValueBean bean = new LabelValueBean((String) object[position], (String) object[position]);
v.add(bean);