q.addOrdering(ClientMtTable1.GLOBAL_ATTRIBUTE1_PROPERTY, true);
q.addPrefetch(ClientMtTable1.TABLE2ARRAY_PROPERTY);
// must pass through the serialization pipe before running query as
// HessianSerializer has needed preprocessing hooks...
Query preprocessedQuery = (Query) HessianUtil.cloneViaClientServerSerialization(
q,
context.getEntityResolver());
List results = channel.onQuery(null, preprocessedQuery).firstList();