Hibernate generates wrong parenthesis in EXISTS subquery

Description

Query

generates

which fails with Error Code: 1241. Operand should contain 1 column(s)
If I remove parenthesis in "select (ciproperty1_.ci_id, ciproperty1_.class_name, ciproperty1_.name) from..." then it works.

Environment

percona-server-server-5.6 5.6.27-75.0-1.jessie amd64

Assignee

Unassigned

Reporter

Oleg Poleshuk

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure