Robert Zeigler wrote:
Thanks Robert this works well for me (FTR needed to use the query ('q') not the qual in the last line).SelectQuery q = new SelectQuery(Person.class);Expression qual = ExpressionFactory.matchExp(Person.COUNTRY_PROPERTY,country);qual = qual.andExp(ExpressionFactory.matchExp(Person.NAME_PROPERTY,name); q.setQualifier(qual); dataContext().performQuery(qual);
Mark