public String query( User user, String xpath, int howmany, int start, boolean prettyPrint, boolean summary) throws Exception { return query(user, xpath, howmany, start, prettyPrint, summary,null);
public String query(User user, String xpath, int howmany, int start, Hashtable parameters) throws Exception { long startTime = System.currentTimeMillis(); String result; DBBroker broker = null; try { broker = brokerPool.get(user); Sequence resultSeq = doQuery(user, broker, xpath, null, null, parameters); if (resultSeq == null) return "<?xml version=\"1.0\"?>\n" + "<exist:result xmlns:exist=\"http: + "hitCount=\"0\"/>";  result = printAll(broker, resultSeq, howmany, start, parameters, (System.currentTimeMillis() - startTime)); } finally { brokerPool.release(broker); } return result;
	public String query(		User user,		String xpath,		int howmany,		int start,		boolean prettyPrint,		boolean summary)		throws Exception {		return query(user, xpath, howmany, start, prettyPrint, summary,null);	}