[JIRA] Created: (CAY-696) true/false in expression

From: Tore Halset (JIRA) ("Tore)
Date: Thu Oct 19 2006 - 18:19:32 EDT

  • Next message: Tore Halset: "true/false & JJTree/JavaCC"

    true/false in expression
    ------------------------

             Key: CAY-696
             URL: http://issues.apache.org/cayenne/browse/CAY-696
         Project: Cayenne
            Type: Improvement

      Components: Cayenne Core Library
        Reporter: Tore Halset
     Assigned to: Tore Halset
         Fix For: 3.0

    Sometimes having boolean true/false in an expression are needed. See discussion:

    Example from Øyvind Harboe:
    Expression e=ExpressionFactory.expTrue();
    if (xxx)
    {
      e=e.andExp(....);
    }
    if (yyy)
    {
      e=e.andExp(....);
    }
    return e;

    http://mail-archives.apache.org/mod_mbox/incubator-cayenne-user/200608.mbox/%3cAB568C55-2716-4F5A-B498-1F0CBDC71BE..bjectstyle.org%3e

    http://mail-archives.apache.org/mod_mbox/incubator-cayenne-user/200608.mbox/%3cc09652430608161347ka3eac59y3803eb1c80322f1..ail.gmail.com%3e

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Thu Oct 19 2006 - 18:20:30 EDT