A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
EJB and other Java EE Technologies
how to pick the max field in cmp
Joined: Mar 08, 2003
Oct 27, 2003 20:10:00
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.
Joined: Jan 23, 2002
Oct 28, 2003 02:02:00
The EJB-QL of
2.0 specification doesn't include the MAX function, if that's the version you're using.
Effective Unit Testing
I agree. Here's the link:
subject: how to pick the max field in cmp
MovieBean in HFEJB p396
Deploying EJB using MySql as a datasource
Entity beans could not be used (WSAD 5)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014