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.