[jboss-user] [EJB 3.0] - select max syntax

khkachn do-not-reply at jboss.com
Fri Mar 21 10:20:16 EDT 2008


What is the correct syntax for doing a select of max() with EJB3? I have
tried creating queries of 

"MAX(m.recId) from RecordsEjb m"

but I keep getting Hibernate errors about node can not be null.

Thanks,

Ken

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138292#4138292

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138292



More information about the jboss-user mailing list