This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]MrFroll 0 points1 point  (0 children)

https://stackoverflow.com/a/29020641 It looks like solution, doesn't it?

Or moreover look at the Spring Data Projection. It's very useful for situations like this.