}
public Query execute(PageContext pc,SQL sql,String prettySQL, int maxrows) throws PageException {
if(StringUtil.isEmpty(prettySQL))prettySQL=SQLPrettyfier.prettyfie(sql.getSQLString());
ZqlParser parser = new ZqlParser(new ByteArrayInputStream(prettySQL.getBytes()));
Vector statements;
try {
statements=parser.readStatements();
}
catch(Throwable t) {
throw Caster.toPageException(t);
}
return execute(statements,pc, sql, maxrows);