org.hibernate.QueryException: could not resolve property: person.id

Description

Hello,
got this exception while executing this query:

where Document.authorizations is an @ElementCollection

The same exception is thrown also when executing an equivalent (JPA) criteria query.

However, all these other queries work just fine:

I'll provide a test case soon.

Thank you

Environment

Wildfly 10.1.0.Final

Assignee

Unassigned

Reporter

Michele Mariotti

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