* @throws PageException
*/
public Query execute(Vector statements, PageContext pc,SQL sql, int maxrows) throws PageException {
// parse sql
if(statements.size()!=1) throw new DatabaseException("only one SQL Statement allowed at time",null,null,null);
ZQuery query=(ZQuery) statements.get(0);
// single table
if(query.getFrom().size()==1) {
return testExecute(pc,sql,getSingleTable(pc, query),query,maxrows);
}
// multiple table
throw new DatabaseException("can only work with single tables yet",null,null,null);