Hello,
I need to query values from the database wich won't end up in entities. Basically the query should return a string and an integer column.
This I should fetch into a (.NET) dictionary.
On the HQL Documentation there is an example:
Code:
select avg(cat.weight), sum(cat.weight), max(cat.weight), count(cat)
from eg.Cat cat
But no further specifications on how to handle the results...
As far as I know Hibernate at this moment, I can only fetch ILists or scalars. But is there a way to get these custom values out of it?
Tnx