About orderBy

21-23 of 23Refresh
Forum
2

Problem with distinct select, order by and equivalent alias/attribute path

it: The following two queries are not legal because the orderby_item is not reflected in the SELECT clause
Issue
2

Weird issue with variable naming

.orderBy(cb.asc(join2.get("name")));   System.out.println(cq.toString());   System.out.println(em
Issue
2

Null pointer exception being thrown from within ObjectDB.

))               )             ).             orderBy(cb.desc(r.get("objectDbId")));     TypedQuery query