On Apr 22, 2008, at 4:33 PM, Borut Bolčina wrote:

String ejbql = "SELECT max(id) FROM Event";

Try "SELECT max(e.id) FROM Event e"... Using entity aliases seems to be required by the EJBQL spec which Cayenne tries to follow.

Andrus

Reply via email to