Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] QueryHints-ResultType-Map

You could try,

Select c.name as n1, d.name as n2 from User c

It might work, but I'm not sure if the ReportQuery uses the aliases from
JPQL (maybe in 2.4).

Otherwise maybe Map is not the best type if you do not have unique keys,
perhaps use the default array result type, or the JPA 2.0 Tuple queries.





--
View this message in context: http://eclipse.1072660.n5.nabble.com/QueryHints-ResultType-Map-tp153829p154072.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.


Back to the top