aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes how to pick the max field in cmp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to pick the max field in cmp" Watch "how to pick the max field in cmp" New topic
Author

how to pick the max field in cmp

kevin chang
Ranch Hand

Joined: Mar 08, 2003
Posts: 64
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?


Sun Certified Java Programmer, Sun Certified Java Developer. <br />Strving to be a real architect.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The EJB-QL of EJB 2.0 specification doesn't include the MAX function, if that's the version you're using.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to pick the max field in cmp