Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.2
-
None
-
Wildfly/Hibernate
Description
Running this test:
@Test
public void should_sort_all_result()
{
List<Simple> result = repo.queryAll()
.orderDesc(Simple_.counter)
.orderAsc(Simple_.id)
.getResultList();
}
Yields the following error:
Tests in error:
should_sort_all_result(org.apache.deltaspike.data.impl.QueryResultTest): org.hibernate.hql.internal.ast.QuerySyntaxException: Invalid path: 'e.counter' [select s from org.apache.deltaspike.data.test.domain.Simple s order by e.counter DESC,e.id ASC]