Equality predicate for embedded id and subquery doesn't work

Description

It's a simple model

The following query leads to an exception SELECT 1 FROM Animal a WHERE a.id = (SELECT b.id FROM Animal b)

When using the IN predicate, the query works, but it might be desireable to use quantifier {{ = ALL()}}.

Environment

None

Assignee

Unassigned

Reporter

Christian Beikov

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure