Environment: |
the following HQL query ``` select e.otherEntity.id, (select e.aString from MyEntity e where e.otherEntity.id = :anotherEntityId) from MyEntity e ``` uses the wrong alias for `e.manyToOne`, `m1_0.otherEntity_id` instead of `m1_0.otherEntity_id` ``` select m1_0.otherEntity_id, (select m2_0.aString from MyEntity m2_0 where m1_0.otherEntity_id=?) from MyEntity m1_0 where m1_0.id=? ``` |