use of org.apache.cayenne.remote.RemoteIncrementalFaultList in project cayenne by apache.
the class CayenneContextWithDataContextIT method testPerformPaginatedQuery.
@Test
public void testPerformPaginatedQuery() throws Exception {
createEightMtTable1s();
SelectQuery query = new SelectQuery(ClientMtTable1.class);
query.setPageSize(5);
List<ClientMtTable1> objects = clientContext.performQuery(query);
assertNotNull(objects);
assertTrue(objects instanceof RemoteIncrementalFaultList);
}
Aggregations