openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Fernando Planella Gonzalez <lfpg....@gmail.com>
Subject Re: resultsets with Object[] lists
Date Wed, 22 Jul 2009 12:05:35 GMT
You might find easier to use 

select new com.mypackage.MyBean(o.periodEnd, o.portfolioItem.portfolio)
from ...

This way you handle a class of your own with getters of the correct type, not an Object[].

Mime
View raw message