mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-16555 Correct source alias for embedded virtual table group joins on implicitly treated paths
This commit is contained in:
parent
f1f28182e7
commit
67ed4de530
@ -16,6 +16,8 @@
|
||||
import org.hibernate.metamodel.mapping.ValuedModelPart;
|
||||
import org.hibernate.spi.NavigablePath;
|
||||
|
||||
import static org.hibernate.internal.util.NullnessUtil.castNonNull;
|
||||
|
||||
/**
|
||||
* @author Christian Beikov
|
||||
*/
|
||||
@ -32,7 +34,7 @@ public StandardVirtualTableGroup(
|
||||
underlyingTableGroup.canUseInnerJoins(),
|
||||
navigablePath,
|
||||
modelPart,
|
||||
underlyingTableGroup.getSourceAlias(),
|
||||
castNonNull( navigablePath.getRealParent() ).getAlias(),
|
||||
null,
|
||||
null
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user