This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Convert this SQL to EJB QL  RSS feed

kaliappan durairaj
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 '%'
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!