HHH-9549 : Selecting treated root generates invalid HQL

(cherry picked from commit 5e3868f58b)
(cherry picked from commit 4283f1ac48)
This commit is contained in:
Emond Papegaaij 2014-12-22 14:50:38 +01:00 committed by Gail Badner
parent 859fe300c7
commit 53bc5336ba
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }