Stevo Slavić opened DATAJPA-51 and commented
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
Affects: 1.0 M2
42 votes, 25 watchers