Re: ExpressionFactory help

2019-02-04 Thread Amedeo Mantica
thank you > On 4 Feb 2019, at 12:49, Michael Gentry wrote: > > https://cayenne.apache.org/docs/3.1/cayenne-guide/#expressions > > > On Mon, Feb 4, 2019 at 5:24 AM Amedeo Mantica > wrote: > >> oh, cool, thank you ! >> btw, where I can find docs for these ? >> >>> On 4 Feb 2019, at 11:20, And

Re: ExpressionFactory help

2019-02-04 Thread Michael Gentry
https://cayenne.apache.org/docs/3.1/cayenne-guide/#expressions On Mon, Feb 4, 2019 at 5:24 AM Amedeo Mantica wrote: > oh, cool, thank you ! > btw, where I can find docs for these ? > > > On 4 Feb 2019, at 11:20, Andrus Adamchik wrote: > > > > Sorry, forgot plus sign for outer join: > > > > Exp

Re: ExpressionFactory help

2019-02-04 Thread Andrus Adamchik
In 3.x the idea is the same, though Property API is not available of course. So you can do this instead: ExpressionFactory.matchExp("paintings", null) Andrus > On Feb 4, 2019, at 12:29 PM, Amedeo Mantica > wrote: > > in Cayenne 3.x ? > >> On 4 Feb 2019, at 09:17, Arseni Bulatski wrote: >>

Re: ExpressionFactory help

2019-02-04 Thread Amedeo Mantica
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 wrote: > > In Cayenne 3.x you can create expression from string: > > Expression.fromString("paintings+ = null") > > > On Mon, Feb 4

Re: ExpressionFactory help

2019-02-04 Thread Arseni Bulatski
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 wrote: > in Cayenne 3.x ? > > > On 4 Feb 2019, at 09:17, Arseni Bulatski > wrote: > > > > Hi > > You can do it in that way: > > Artist.PAINTINGS.oute

Re: ExpressionFactory help

2019-02-04 Thread Amedeo Mantica
oh, cool, thank you ! btw, where I can find docs for these ? > On 4 Feb 2019, at 11:20, Andrus Adamchik wrote: > > Sorry, forgot plus sign for outer join: > > ExpressionFactory.matchExp("paintings+", null) > > >> On Feb 4, 2019, at 1:19 PM, Andrus Adamchik wrote: >> >> In 3.x the idea is th

Re: ExpressionFactory help

2019-02-04 Thread Andrus Adamchik
Sorry, forgot plus sign for outer join: ExpressionFactory.matchExp("paintings+", null) > On Feb 4, 2019, at 1:19 PM, Andrus Adamchik wrote: > > In 3.x the idea is the same, though Property API is not available of course. > So you can do this instead: > > ExpressionFactory.matchExp("paintings

Re: ExpressionFactory help

2019-02-04 Thread Amedeo Mantica
in Cayenne 3.x ? > On 4 Feb 2019, at 09:17, Arseni Bulatski wrote: > > Hi > You can do it in that way: > Artist.PAINTINGS.outer().isNull() > > > > On Sun, Feb 3, 2019 at 10:19 PM Amedeo Mantica > wrote: > >> Hi all, >> >> Which is the correct Expression to use in order to select objects th

Re: ExpressionFactory help

2019-02-04 Thread Arseni Bulatski
Hi You can do it in that way: Artist.PAINTINGS.outer().isNull() On Sun, Feb 3, 2019 at 10:19 PM Amedeo Mantica 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

ExpressionFactory help

2019-02-03 Thread Amedeo Mantica
Hi all, Which is the correct Expression to use in order to select objects thats have an 1:many relationship empty ? Thank you Amedeo