Hi,

I just coded up a webpage to show the resultset from a query like this:

select distinct o.periodEnd, o.portfolioItem.portfolio
from Order o
order by o.periodEnd asc, o.portfolioItem.portfolio.title

I required quite a lot of code to put the resulting Object[] list into a format I can use. So it struck me that it would be a major pain if this implementation isn't portable.

I read through the JPA v1 spec and it was unfortunately pretty non-specific on the matter ;)

Is this type of resultset with Object[] items guaranteed for portability and future compatibility? Or have I just coded up stuff that is OpenJPA v1.2 only?

Thanks
Adam

Reply via email to