try {
columnBindings = new Binding[heads.size()];
keyColumns = new String[heads.size()];
for (int i = 0; heads != null; i++, heads = heads.more) {
String name = heads.text();
columnBindings[i] = new SymbolAccessQueryBinding();
int idx = findColumn(name);
String columnName = dt.getColumns().get(idx).getName();
if (!name.endsWith("?"))
keyColumns[i] = columnName;
columnBindings[i].adapter = new CurrentDataRowTypeAdapter(columnName, getJavaClassForColumn(dt