After HHH-9305 is fixed, it will be easier to workaround this bug by explicitly joining the to-one associations.
For example: select e.lastName, e.department.deptName, e.title from Employee e
The workaround is to make one or both implicit joins explicit instead: select e.lastName, e.department.deptName, e.title from Employee e inner join e.department select e.lastName, e.department.deptName, e.title from Employee e inner join e.title select e.lastName, e.department.deptName, e.title from Employee e inner join e.department inner join e.title
|