users@glassfish.java.net

Re: Provide arrays or collections as NamedQuery parameter

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Aug 2007 10:03:38 PDT

TopLink Essentials (default GlassFish provider) doesn't support either option, but other providers might do. Keep in mind that this will be their own extention to the spec requirements.

For a portable application, your only solution is to dynamically create the IN clause inside your method body depending on the size of the collection or an array.

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

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