Hi,
I'm using getReportQueryIteratorByQuery and I want to select columns that
have the same name but are not present in my criteria :


Criteria crit1 = new Criteria();
crit1.addEqualTo("id", new Integer(1));

q = QueryFactory.newReportQuery(Container.class, crit1);

String[] cols = { id, "name", "refOtherClass.name "};
q.setAttributes(cls);

The pb is that I'm getting the same value for the columns "name" and "
refOtherClass.name".

Any help?
Thanks in advance,

Ali

Reply via email to