persistence@glassfish.java.net

EJBQLParser change: support for aggregates in HAVING clause

From: Michael Bouschen <Michael.Bouschen_at_Sun.COM>
Date: Wed, 02 Nov 2005 12:10:17 +0100

Resend with corrected mail alias name.

--------

Hi Tom,

attached you find a patch adding support for aggregate functions in the
EJBQL parser. I also fixed a bug in the HavingNode implementation. There
were cases where the having expression was not registered as left child
of the HavingNode and this caused a NullPointerException when
initializing the ReportQuery. Please have a look at the changes.

There is a glassfish issue for the missing support of aggregates in the
HAVING clause: https://glassfish.dev.java.net/issues/show_bug.cgi?id=60.
I assigned the issue to me.

Regards Michael