HHH-9549 : Selecting treated root generates invalid HQL

(cherry picked from commit 5e3868f58b)
This commit is contained in:
Emond Papegaaij 2014-12-22 14:50:38 +01:00 committed by Gail Badner
parent bf3130cd1c
commit 4283f1ac48
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();
} }