*/
@Test
public void testApiOrderBy() throws Exception {
ISession session = store.getSession(Transaction.AUTO_COMMIT);
SeSqlConstruct sqlConstruct = new SeSqlConstruct();
String[] tables = { InProcessViewSupportTestData.MASTER, InProcessViewSupportTestData.CHILD };
sqlConstruct.setTables(tables);
String where = InProcessViewSupportTestData.CHILD + ".MASTER_ID = "
+ InProcessViewSupportTestData.MASTER + ".ID";
sqlConstruct.setWhere(where);
// tricky part is that SHAPE column must always be the last one
String[] propertyNames = { InProcessViewSupportTestData.MASTER + ".ID AS myid2",
InProcessViewSupportTestData.MASTER + ".NAME AS MNAME",
InProcessViewSupportTestData.CHILD + ".ID",