Felix Feisst, it appears when we were fixing support for
HHH-16 Closed , part of the HqlSqlWalker#visist(AST) method was commented out when the referencedFromElement didn't equal that of the fromElement in part of an if-check; however the else-block appears to have been left untouched, which is resulting in the error you're seeing. Removing the if-check that throws the InvalidWithClauseException allows the query to execute successfully; however, this leads to a test failure that around with semantics in WithClauseTest. I'm inclined to believe with
HHH-16 Closed , the expected failure can be removed. |