openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Fernando Planella Gonzalez <>
Subject Re: resultsets with Object[] lists
Date Fri, 24 Jul 2009 12:22:22 GMT
> 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 ;)

View raw message