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