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
OK, I found it. My subject line had the correct syntax;
Query.createNewQuery("select max(m.recId) from RecordsEjb m");
Ken