I noticed two kinds of queries. First, a QueryByCriteria: Query q = QueryFactory.newQuery(Person.class, crit);
And second, a ReportQueryByCriteria:
ReportQueryByCriteria q = QueryFactory.newReportQuery(ProductGroup.class, crit);
What's the difference between the two? After looking at 60+ messages in the mail archive, I'm guessing that it's the fact that the ReportQueryByCriteria allows the creation of summary/aggregate columns such as max(), min(), avg(), ...
Am I right?
Also, shouldn't the example for ReportQueryByCriteria declare q as:
ReportQuery q = QueryFactory.newReportQuery(ProductGroup.class, crit); // Use the ReportQuery interface instead of the ReportQueryByCriteria class
Thanks for the help!
-Anthony
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]