public void testSort3WithFilter() { Filter filter = Predicates.equal("name", "quux"); StringBuilder build = QueryBuilder.forIds(dialect, WorkspaceInfo.class, dbMappings) .filter(filter) .sortOrder(Predicates.asc("foo"), Predicates.desc("bar"), Predicates.asc("baz")) .build(); }
public void testSort3() { Filter filter = Predicates.acceptAll(); StringBuilder build = QueryBuilder.forIds(dialect, WorkspaceInfo.class, dbMappings) .filter(filter) .sortOrder(Predicates.asc("foo"), Predicates.desc("bar"), Predicates.asc("baz")) .build(); }