0 Replies Latest reply on May 27, 2004 12:49 AM by ignacio cuesta

    EJB-QL ordey by...

    ignacio cuesta Newbie

      Hi everyBody !!!
      well I want to know how can I do this query with ejb-ql:

      SELECT * FROM documents WHERE docid =x ORDER BY docname ASC

      I did try with this code but didn't running
      *@ ejb.finder
      query="SELECT OBJECT(d) FROM documents d where d.docid=?1 order by ?2 ?3"