It's not a secret anymore!*
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
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 '%'
 
jQuery in Action, 2nd edition
 
subject: Convert this SQL to EJB QL
 
Similar Threads
Best way of learning EJB and EJB-QL!
Java Persistence QL
Search Query Problem
SQL and EJB-QL
EJB QL