Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-696

true/false in expression

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0M1, 3.0
    • Core Library
    • None

    Description

      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-1F0CBDC71BE6@objectstyle.org%3e

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

      Attachments

        1. cay-696-try2.patch
          118 kB
          Tore Halset
        2. cay-696-jjt-try1.patch
          0.6 kB
          Tore Halset
        3. cay-696-try1.patch
          12 kB
          Tore Halset

        Activity

          People

            Unassigned Unassigned
            halset Tore Halset
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: