int p = 0;
for (Object o : parameters) {
stmt.setObject(++p, o);
}
Collection<ColumnVar> proj = qb.getProjections();
RdbmsBindingCursor result = new RdbmsBindingCursor(stmt);
result.setProjections(proj);
result.setBindings(bindings);
result.setValueFactory(vf);
result.setIdSequence(ids);
return result;
}
catch (SQLException e) {
throw new RdbmsException(e.toString() + "\n" + query, e);
}