When using Hibernate's JPA EntityManager with entities defined using EntityMode.MAP (not classes), you cannot create a join to an entity that is not class-based. I have a fix ready and will submit a PR.