cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: true/false & JJTree/JavaCC
Date Sat, 28 Oct 2006 16:47:46 GMT

On Oct 20, 2006, at 2:46 AM, Tore Halset wrote:

> Hello.
>
> I am trying to implement true/false. See the following issue.
>
> http://issues.apache.org/cayenne/browse/CAY-696
>
> First, I do not know if this a good idea, but it was requested..

I think it is a good idea.

> My main motivation is to be able to do a expIn(/expNotIn) with an  
> empty collection.
>
> How should I update the JJTree stuff?

Yes, you will need to update the parser for completeness of the  
implementation of this feature.

> Is that only for parsing ala Expression.fromString(...)?

Yes, but as Michael mentioned "Expression.fromString" itself is used  
in the Modeler (and runtime) to parse queries saved in XML.

Andrus

Mime
View raw message