Is it possible to return a map instead of a List from a custom JPA Query?
I know if is possible from the Entities themselves. In my case I have a custom query which returns some stats across different tables for a range of dates.
Ideally I would like the returned map to have the date as key and the stat as value.