Hi Dorian,

As is the case with most ORM technologies, there is an "object query syntax" and "db query syntax". Cayenne supports GROUP BY in the later case via SQLTemplate. The result of course can be mapped to objects:

http://cayenne.apache.org/doc/sqltemplate-query.html
http://cayenne.apache.org/doc/scripting-sqltemplate.html

Andrus

On Feb 17, 2007, at 5:35 PM, Dorian wrote:
Hello!

There is any way I can build a query with a GROUP BY clause?


Thanks!

Dorian

Reply via email to