]
Eric Zhi Li commented on HHH-2384:
----------------------------------
same here. the patch is working. please help to put this in the next release. thanks a
lot.
Patch for using case-expression("case ... when ... end") in
aggregate functions
-------------------------------------------------------------------------------
Key: HHH-2384
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2384
Project: Hibernate3
Issue Type: Patch
Components: query-hql
Affects Versions: 3.2.2
Reporter: Florian Rock
Priority: Minor
Attachments: aggrcasehql.patch
using a case-expression in aggregate functions causes a QuerySyntaxException..
ie.: "count(case when fubar > 0 then 1 else null end)"
i changed some things in the grammar to solve this, patch is attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: