You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by jotpe <jo...@gmail.com> on 2014/01/10 09:15:06 UTC

bitwise and expression

Hello,

how can i create an expression like this:
... WHERE type & 1 = 1

Regards Johannes

Re: bitwise and expression

Posted by Andrus Adamchik <an...@objectstyle.org>.
Sure, eventually. 

On Jan 10, 2014, at 12:20 PM, jotpe <jo...@gmail.com> wrote:

> Switching to 3.2 helps, thanks. Will the ExpressionFactory be extend, too?
> Johannes
> 
> 
> 2014/1/10 Andrus Adamchik <an...@objectstyle.org>
> 
>> Cayenne 3.1 has some rudimentary support, allowing to create such
>> expressions via fairly low-level API [1]. Cayenne 3.2 also supports in
>> Expression.fromString [2].
>> 
>> Andrus
>> 
>> [1] https://issues.apache.org/jira/browse/CAY-1693
>> [2] https://issues.apache.org/jira/browse/CAY-1726
>> 
>> 
>> On Jan 10, 2014, at 11:15 AM, jotpe <jo...@gmail.com> wrote:
>> 
>>> Hello,
>>> 
>>> how can i create an expression like this:
>>> ... WHERE type & 1 = 1
>>> 
>>> Regards Johannes
>> 
>> 


Re: bitwise and expression

Posted by jotpe <jo...@gmail.com>.
Switching to 3.2 helps, thanks. Will the ExpressionFactory be extend, too?
Johannes


2014/1/10 Andrus Adamchik <an...@objectstyle.org>

> Cayenne 3.1 has some rudimentary support, allowing to create such
> expressions via fairly low-level API [1]. Cayenne 3.2 also supports in
> Expression.fromString [2].
>
> Andrus
>
> [1] https://issues.apache.org/jira/browse/CAY-1693
> [2] https://issues.apache.org/jira/browse/CAY-1726
>
>
> On Jan 10, 2014, at 11:15 AM, jotpe <jo...@gmail.com> wrote:
>
> > Hello,
> >
> > how can i create an expression like this:
> > ... WHERE type & 1 = 1
> >
> > Regards Johannes
>
>

Re: bitwise and expression

Posted by Andrus Adamchik <an...@objectstyle.org>.
Cayenne 3.1 has some rudimentary support, allowing to create such expressions via fairly low-level API [1]. Cayenne 3.2 also supports in Expression.fromString [2].

Andrus

[1] https://issues.apache.org/jira/browse/CAY-1693
[2] https://issues.apache.org/jira/browse/CAY-1726


On Jan 10, 2014, at 11:15 AM, jotpe <jo...@gmail.com> wrote:

> Hello,
> 
> how can i create an expression like this:
> ... WHERE type & 1 = 1
> 
> Regards Johannes