users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Jun 2008 11:19:33 PDT

In Glassfish V3 and EclipseLink (www.eclipselink.org) you can use the query hint eclipselink.result-collection-type and provide the fully qualified classname of the collection you would like to have EclipseLink return the results in.

This may not work for queries that do not return entities.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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