users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Jun 2008 10:25:42 PDT

It can also return a List of non-entity instances created via SELECT new Y(y.id, y.foo) FROM ....

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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