Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help needed on ejb query

 
Maya Pillai
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an oracle query like this...

select * from (select a.*, rownum rnum from (select VENDORNAME,LOCATION,PHONE,EMAILID from
VENDORS order by createdDate desc) a where rownum <= 3) where rnum >=1


while converting this to ejb query, i am getting an error.....how to use a.* correctly in ejb ql.

Please help

Thanks in advance
 
No more fooling around. Read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!