*/
private void checkQuery(String table, String query,
IDatabaseConnection expectedConnection,
IDatabaseConnection actualConnection)
throws Exception {
QueryDataSet expectedDataSet = new QueryDataSet(expectedConnection);
expectedDataSet.addTable(table, query);
QueryDataSet actualDataSet = new QueryDataSet(actualConnection);
actualDataSet.addTable(table, query);
// new FlatXmlWriter(System.out).write(expectedDataSet);
// new FlatXmlWriter(System.out).write(actualDataSet);
// make sure there is actually data to compare against