mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-16888 Return correlated root in findRoot() for entity joins
This commit is contained in:
parent
be9465c1f9
commit
91b17b8179
@ -68,6 +68,11 @@ public SqmCorrelatedEntityJoin<T> copy(SqmCopyContext context) {
|
||||
return path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SqmRoot<?> findRoot() {
|
||||
return getCorrelatedRoot();
|
||||
}
|
||||
|
||||
@Override
|
||||
public <X> X accept(SemanticQueryWalker<X> walker) {
|
||||
return walker.visitCorrelatedEntityJoin(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user