users@glassfish.java.net

Re: what datatype can em.createQuery().getResultList return?

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Jun 2008 09:56:32 PDT

Hi Larid,
How did you do to get a list of an array of columns(SELECT x.id, x.name from X x)?
I tried it myself, what I got is a list of object and couldn't cast it to an array? Can you show me how you did it? Thanks.
[Message sent by forum member 'bobxu' (bobxu)]

http://forums.java.net/jive/thread.jspa?messageID=280224