Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-554

Add QueryDslPredicateExecutor.findAll(Predicate, Sort) method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2 (Dijkstra SR2)
    • Fix Version/s: 1.10 RC1 (Fowler)
    • Component/s: Core
    • Labels:
      None

      Description

      The following method is missing:

      Iterable<T> findAll(Predicate predicate, Sort sort);
      

      from the QueryDslPredicateExecutor.

      Hence you can't apply a sort without also applying pagination. This is inconsistent with PagingAndSortingRepository. Which does provide such a method:

      Iterable<T> findAll(Sort sort);
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thomasd Thomas Darimont
              Reporter:
              dtrott David Trott
              Last updater:
              Oliver Drotbohm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: