Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Works as designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Quite happy to see jpa 2.1 is near...

      I couldn't seem to subscribe to the mailing list, so here are some comments.

      Some minor question/suggestion, maybe already discussed?

      Why do we have this:

      CriteriaQuery<T> where(Predicate... restrictions);

      But not, additionnally, this:

      CriteriaQuery<T> where(List<Predicate> restrictions);

      While there is:

      CriteriaQuery<T> groupBy(Expression<?>... grouping);
      and
      CriteriaQuery<T> groupBy(List<Expression<?>> grouping);

      And List parameters for having, orderBy, ...

        Issue Links

          Activity

          ymajoros created issue -
          Hide
          ldemichiel added a comment -

          It was felt that CriteriaQuery<T> where(List<Predicate> restrictions)
          was not needed, as unlike in the other cases, there are operations to
          combine expressions using the logical operators.

          You can post to the users email list by joining the project.

          Show
          ldemichiel added a comment - It was felt that CriteriaQuery<T> where(List<Predicate> restrictions) was not needed, as unlike in the other cases, there are operations to combine expressions using the logical operators. You can post to the users email list by joining the project.
          ldemichiel made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Works as designed [ 7 ]
          ymajoros made changes -
          Link This issue is cloned by JPA_SPEC-137 [ JPA_SPEC-137 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              ymajoros
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: