Spring Data JPA
  1. Spring Data JPA
  2. DATAJPA-51

Support search result classes different from Specification query root

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0 M2
    • Fix Version/s: Backlog
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      SpringOne Aftermath, The Road to Codd M1, 42 - 2014 Kickoff

      Description

      Currently Specification API does not support search to return anything other than instance of query root (or some collection of root) JPA entity as result. But JPA itself supports result to be different class from query root and it typically isn't an entity bean class (see here and here).

      Please add support for complex queries with search result classes different from Specification query root.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Oliver Gierke
            Reporter:
            Stevo Slavić
          • Votes:
            20 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

            • Created:
              Updated:

              Agile