Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

With EJB-QL, can I use ORDER BY clause?

 
Kate Xu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
With EJB-QL, can I use ORDER BY clause? How to write the query?
Thank you all!
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kate,
The "ORDER BY" part of EJB-QL is available in the EJB 2.1 version. Have you downloaded the EJB 2.1 specification from the EJB website? You'll find the entire EJB-QL BNF at the end of the EJB-QL chapter in the specification. It will tell you all about how it is used.
 
Kate Xu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Nathaniel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic