Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pick the max field in cmp

 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in CMP, it seems that i can't use select max(FIELD) from TABLE in the EJB-QL. any suggestion about pick the max value?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EJB-QL of EJB 2.0 specification doesn't include the MAX function, if that's the version you're using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic