Accessing plural attribute in mapped super class via criteria builder throws exception

Description

I have an entity [A] which extends from @MappedSuperClass [B]. In parent class [B] I have @ManyToMany mapping via @JoinTable. I have a class [C] which has @OneToMany relationship with entity A. When I access this attribute via Criteria builder's Path via

I get an exception

If I move this property to child class [A] everything works.

Environment

5.3.10.Final

Assignee

Unassigned

Reporter

Jakub Soltys

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