Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.M2
    • None
    • None

    Description

      Based on the https://github.com/apache/cayenne/pull/16 pull request...

      1. let's refactor Expression.fromString(..) into ExpressionFactory.exp(..). Parameters may be passed either as a Map (traditional parameter binding) or as a vararg in which case parameters will be bound positionally regardless of their names.

      In the later case names are ignored so e.g. the same name mentioned twice can be bound to two different values. Also the later case would not allow subexpression pruning.

      2. Let's add shortcuts and(..), or(..) for ExpressionFactory.joinExp(..)

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: