HHH-17968 Fix missing CTE processing in subqueries

This commit is contained in:
Marco Belladelli 2024-04-23 10:33:54 +02:00
parent 7ef83da0be
commit cc67fdef10
1 changed files with 1 additions and 0 deletions

View File

@ -900,6 +900,7 @@ public abstract class BaseSemanticQueryWalker implements SemanticQueryWalker<Obj
@Override
public Object visitSubQueryExpression(SqmSubQuery<?> expression) {
visitCteContainer( expression );
expression.getQueryPart().accept( this );
return expression;
}