COUNT query for embedded entity syntax error

Description

Consider entities

Running {{ SELECT COUNT(a.c) FROM A a }} produces a syntactically incorrect query

The DB error message is

Reason is that COUNT does not accept multiple column names, only a single column or *.

Environment

H2 database

Assignee

Unassigned

Reporter

Adam Michalik

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure