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