HHH-9549 : Selecting treated root generates invalid HQL
(cherry picked from commit 5e3868f58b
)
This commit is contained in:
parent
bf3130cd1c
commit
4283f1ac48
|
@ -138,6 +138,7 @@ public class RootImpl<X> extends AbstractFromImpl<X,X> implements Root<X>, Seria
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String render(RenderingContext renderingContext) {
|
public String render(RenderingContext renderingContext) {
|
||||||
|
original.prepareAlias(renderingContext);
|
||||||
return getTreatFragment();
|
return getTreatFragment();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue