I need to create a query to return the MAX value of a field, but i realize that EJB-QL doesn't support MAX function until EJB 2.1. How can i use a MAX aggregate function with JBOSS 3.0.x? Is there a MAX function in JBOSS-QL?
I will appreciate any help about this issue. Thanks in advance.