GROUP BY entity does not work

Description

The query : "select cat, count from Cat cat group by cat" does not work.

ERROR: column "xxxx" must appear in the GROUP BY clause or be used in an aggregate function

See :

Environment

PostgreSQL 8.1.3, Hibernate 3.1.3

Status

Assignee

Unassigned

Reporter

Xavier Bugaud

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.2.5

Priority

Critical