cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject WHERE EXISTS clause
Date Wed, 15 Feb 2017 18:18:26 GMT
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
Mime
View raw message