Issue is marked es solved for the version '6.0.8.Final’, but i’m using HibernateSearch '6.1.8.Final’ and HibernateCore ‘5.6.15.Final' and still face it for some reason. There is a bidirectional mapping Class A @OneToMany(cascade=CascadeType.ALL, orphanRemoval=true, fetch=FetchType.EAGER, mappedBy=“a") @MapKey(name="name") private Map<String, P> parameters = new HashMap<>(); @IdClass(B.PK.class) Class B @Id @ManyToOne(optional=false) private A a; Leads to: property [a] not found on entity [B] The workaround for it was to replace the mapping for composite primary key of B from @IdClass to @EmbeddedId. So now it works, but still wondering why … since the issue is solved |