users@glassfish.java.net

Re: how to create dynamic where clause in ejbql of jpa/toplink essentials

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Oct 2007 13:31:26 PDT

Hi Sarvesh,

You need to switch to use a dynamic query in your application, and instead of a annotated named query, use a predefined static string variable that you'll start with.

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

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