Schema schema = strategy.getSchemaByName(strategy.getDefaultSchemaName());
Query q = new Query();
Table table = schema.getTables()[0];
q.from(table, "a");
q.select(table.getColumns());
assertEquals(
"SELECT a._CUSTOMERNUMBER_, a._CUSTOMERNAME_, a._CONTACTLASTNAME_, a._CONTACTFIRSTNAME_, a._PHONE_, a._ADDRESSLINE1_, a._ADDRESSLINE2_, a._CITY_, a._STATE_, a._POSTALCODE_, a._COUNTRY_, a._SALESREPEMPLOYEENUMBER_, a._CREDITLIMIT_ FROM PUBLIC._CUSTOMERS_ a",
q.toString().replace('\"', '_'));
DataSet result = strategy.executeQuery(q);
assertTrue(result.next());