Hibernate version: 3.1
Hello,
In my DAOs, i use Criteria and a ProjectionList of PropertyProjection objects to generate report queries. It works great and is quite flexible.
I use the query results to manually construct maps. Object arrays are not very friendly for the tiers upwards and custom DTOs have their own downsides, especially when projecting arbitary properties.
Anyway, is there a way in recent versions to project directly into a map containing the property names as keys to the returned values? I saw older similar posts but no solution.
Thanks,
Manos
|