cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: Boolean comparison in expressions?
Date Thu, 19 Feb 2009 08:15:04 GMT
Hi Michael!

I don't need a query. I need entity qualifier. In CM this only can be mapped
with a string. Currently I solved the problem by manually setting qualifier
in code. I think this is a limitation, and I'll open a JIRA if my suspicions
will confirm.

2009/2/18 Michael Gentry <mgentry@masslight.net>

> Well, you can create a query in CM with the magnifying glass icon (or
> Project -> Create Query menu) and specify it there.  You might need to
> use the underlying data value.  For example, I had an isFilled Boolean
> attribute mapped to an integer database type and in my query I
> specified "isFilled = 0".  I don't think I ever tried "isFilled =
> false", but I might have to give that one a shot now that you've made
> me curious.
>
> /dev/mrg
>
>
> On Wed, Feb 18, 2009 at 10:14 AM, Andrey Razumovsky
> <razumovsky.andrey@gmail.com> wrote:
> > Hello,
> >
> > Can I specify qualifier via string (in Modeler), which checks boolean
> > attribute, e.g. something like "abort=false" or "!abort" ?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message