File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Convert this SQL to EJB QL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Convert this SQL to EJB QL" Watch "Convert this SQL to EJB QL" New topic
Author

Convert this SQL to EJB QL

kaliappan durairaj
Greenhorn

Joined: Nov 24, 2008
Posts: 9
Hi can anyone help me out in converting the following SQL query to EJB QL, the following nvl fuction is not valid for EJB QL and i am searching for an equivalent function that work in EJB QL.

select * from table1 where primarycolumn like '123%' and nvl(column2, '###') like '%'
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert this SQL to EJB QL