PL-7941 Sorting table by property-path-column leads to not all data loaded

This commit is contained in:
Andrey Subbotin 2016-10-07 10:07:11 +04:00
parent 9c74d6ac71
commit 6e11501d06

View File

@ -999,10 +999,10 @@ public class QueryTransformerAstBasedTest {
transformer = new QueryTransformerAstBased(model,
"select h from sec$GroupHierarchy h");
transformer.replaceOrderBy(false, "parent.group", "parent.name");
transformer.replaceOrderBy(false, "parent.group", "parent.createdBy");
res = transformer.getResult();
assertEquals(
"select h from sec$GroupHierarchy h left join h.parent h_parent order by h_parent.group, h_parent.name",
"select h from sec$GroupHierarchy h left join h.parent h_parent order by h_parent.group, h_parent.createdBy",
res);
}