• Post Reply Bookmark Topic Watch Topic
  • New Topic

help needed on ejb query  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!