On Wed, Jul 22, 2009 at 8:05 AM, Luis Fernando Planella Gonzalez < [email protected]> wrote:
> You might find easier to use > > select new com.mypackage.MyBean(o.periodEnd, o.portfolioItem.portfolio) > from ... > Adam's original question is about portability of the Object[] return type, yes? Will this query: select distinct o.periodEnd, o.portfolioItem.portfolio from Order o order by o.periodEnd asc, o.portfolioItem.portfolio.title return a List of Object[] in all JPA implementations or just OpenJPA? -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
