cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: WHERE EXISTS clause
Date Thu, 16 Feb 2017 05:36:55 GMT
I am using regular inner joins for an alternative. 


> On Feb 15, 2017, at 9:18 PM, Hugi Thordarson <> wrote:
> Hi all,
> I need to generate a WHERE EXISTS clause in a SelectQuery.
> I see EJBQL supports EXISTS and I can create an EJBQLQuery that works fine with it, but
unfortunately the query I’m working with (and converting from EOF) is constructed using
a huge amount of Expressions, so I can't really use EJBQL.
> So… I’m guessing this requires the creation of a custom Expression class? Is there
a guide somewhere for creating your own custom Expression classes?
> Cheers,
> - hugi

View raw message