public QueryEngine prepareQuery(String queryS) throws SQLException, ConfigException
{
Model config = ExtractConfig.process("jdbc:hsqldb:mem:test", "org.hsqldb.jdbcDriver", "urn:ex:", "sa", "", new String[]{"TABLE1", "TABLE2"}, conn.getMetaData());
Query query = QueryFactory.create(queryS);
QueryEngine qe = new SQLQueryEngine(query, config);
qe.setDataset(DatasetFactory.create());
return qe;
}