#2 bad Java generated for group by on int

open
nobody
None
5
2012-10-08
2003-05-20
John V Sichi
No

select "deptno" from "emps" group by "deptno"

where the schema has int type for deptno. The
generated JavaAggregate tries to use the int as a key
in a HashMap, which fails to compile since it's not an
Object.

Discussion