jpa exception fixed - uses a non-entity as target entity in the relationship attribute