Hi Hugi, if you are using an older Cayenne (3.0/3.1), I have a set of
utility functions to do count/sum/avg/min/max with expressions.  If using a
newer version, perhaps Andrus' changes will help you.  Let me know if you
want the older versions.

mrg


On Sat, Sep 12, 2015 at 9:03 AM, Hugi Thordarson <h...@karlmenn.is> wrote:

> Hi all.
>
> Since converting Expressions that use outer joins to EJBQL doesn’t work in
> Cayenne, I find myself now using somewhat kludgy methods to invoke
> aggregate methods (for example to retrieve the count of records that an
> expression will yield).
>
> Does anyone have a good solution or is there a standard way to do this?
>
> Cheers,
> - hugi
>
> // Hugi Thordarson
> // http://www.loftfar.is/ <http://www.loftfar.is/>
> // s. 895-6688

Reply via email to