> Wouldn't you have to map it? I was thinking of trying to do it with the least 
> overhead.
The class in the select new xxx() doesn't need to be mapped nor annotated.
It just create a constructor with the same signature as the parameters passed 
in.

> Ideally I wanted the results in a Map, with the first column as the key, but 
> I 
> figured I'd probably not see that until JPA 3.1 :)
I'm eagerly waiting some JPA 3.1 features, such as element collections and 
criteria ;)

Reply via email to