cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amedeo Mantica <amedeomant...@me.com.INVALID>
Subject Re: ExpressionFactory help
Date Mon, 04 Feb 2019 10:27:57 GMT
That is cool, for some weird reason ( I came from EOF ) I don't use yet string expression,
but good to know
Thank you

> On 4 Feb 2019, at 11:24, Arseni Bulatski <abulatski@objectstyle.com> wrote:
> 
> In Cayenne 3.x you can create expression from string:
> 
> Expression.fromString("paintings+ = null")
> 
> 
> On Mon, Feb 4, 2019 at 12:30 PM Amedeo Mantica <amedeomantica@me.com.invalid>
> wrote:
> 
>> in Cayenne 3.x ?
>> 
>>> On 4 Feb 2019, at 09:17, Arseni Bulatski <abulatski@objectstyle.com>
>> wrote:
>>> 
>>> Hi
>>> You can do it in that way:
>>> Artist.PAINTINGS.outer().isNull()
>>> 
>>> 
>>> 
>>> On Sun, Feb 3, 2019 at 10:19 PM Amedeo Mantica
>> <amedeomantica@me.com.invalid>
>>> wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> Which is the correct Expression to use in order to select objects thats
>>>> have an 1:many relationship empty ?
>>>> 
>>>> Thank you
>>>> Amedeo
>> 
>> 


Mime
View raw message