Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-7321
HQL: Combining a CROSS JOIN with a LEFT JOIN which requires a WITH clause triggers an exception.
I'm trying to combine a CROSS JOIN with a LEFT JOIN. The last one requires a WITH clause that references one of tables used in the CROSS JOIN. For example, I want to list students, questions of an exam, and their answers to them. Some answers may not exist, thus I'm using a LEFT JOIN:

SELECT s.studentId, q.questionId, sa.answer
FROM Student s, Question q...