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

        Stevo Slavić created issue -
        Oliver Gierke made changes -
        Field Original Value New Value
        Original Estimate 0d [ 0 ]
        Remaining Estimate 0d [ 0 ]
        Fix Version/s 2.0 M1 [ 13207 ]
        Oliver Gierke made changes -
        Fix Version/s Backlog [ 12838 ]
        Fix Version/s 1.3 GA [ 13207 ]
        Trevor Marshall made changes -
        Workflow SPR Workflow [ 46759 ] SPR Workflow - notify Spring Data HipChat [ 81996 ]
        Thomas Darimont made changes -
        Rank Ranked higher
        Oliver Gierke made changes -
        Sprint SpringOne Aftermath [ 22 ]
        Oliver Gierke made changes -
        Rank Ranked higher
        Oliver Gierke made changes -
        Sprint SpringOne Aftermath [ 22 ] SpringOne Aftermath, The Road to Codd M1 [ 22, 23 ]
        Oliver Gierke made changes -
        Rank Ranked higher
        Oliver Gierke made changes -
        Sprint SpringOne Aftermath, The Road to Codd M1 [ 22, 23 ] SpringOne Aftermath, The Road to Codd M1, Codd M1 [ 22, 23, 27 ]
        Thomas Darimont made changes -
        Sprint SpringOne Aftermath, The Road to Codd M1, Codd M1 [ 22, 23, 27 ] SpringOne Aftermath, The Road to Codd M1 [ 22, 23 ]
        Thomas Darimont made changes -
        Rank Ranked higher
        Oliver Gierke made changes -
        Sprint SpringOne Aftermath, The Road to Codd M1 [ 22, 23 ] SpringOne Aftermath, The Road to Codd M1, 2014 Kickoff [ 22, 23, 30 ]
        Trevor Marshall made changes -
        Workflow SPR Workflow - notify Spring Data HipChat [ 81996 ] DATA Workflow [ 96379 ]

          People

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

            Dates

            • Created:
              Updated:

              Agile