users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Tue, 09 Oct 2007 00:31:48 PDT

Hi Marina,

Thanks for your reply...i know this can be done in the code by declaring the string variable having the base query and then on some conditions you can add where clause dynamically...but my project lead dont want to put sql's inside the code.

so any other solution to put the ejbql outside the code.

regards
sarvesh
[Message sent by forum member 'sarveshsh' (sarveshsh)]

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