Consider the following query which uses implicit joins:
Generated SQL is invalid as it references the alias in join conditions before it was declared:
and produces exception:
This query, however, works on Hibernate 5.x - the generated SQL is valid. Please see a reproducer attached. |