HHH-16540 Correct navigable path for embeddable valued path interpretation with plural attribute join
This commit is contained in:
parent
c226cf681c
commit
54c9c1010e
|
@ -4102,7 +4102,7 @@ public abstract class BaseSqmToSqlAstConverter<T extends Statement> extends Base
|
|||
final EmbeddableValuedModelPart mapping = (EmbeddableValuedModelPart) actualModelPart;
|
||||
result = new EmbeddableValuedPathInterpretation<>(
|
||||
mapping.toSqlExpression(
|
||||
getFromClauseAccess().findTableGroup( path.getLhs().getNavigablePath() ),
|
||||
findTableGroup( navigablePath.getParent() ),
|
||||
currentClauseStack.getCurrent(),
|
||||
this,
|
||||
getSqlAstCreationState()
|
||||
|
|
Loading…
Reference in New Issue