}
private DbResult createResult() throws Exception {
DbResult res = null;
DbConnection con = ((DbCaoConnection)getConnection()).getPool().getConnection();
DbStatement sth = con.createStatement(queryString);
if (sth.execute( ((DbApplication)getApplication()).getMapping() )) {
res = sth.getResultSet();
} else {
res = new MutableResult();
((MutableResult)res).addColumnName("count");
HashMap<String, Object> row = new HashMap<String, Object>();
row.put("count", sth.getUpdateCount());
((MutableResult)res).add(row);
((MutableResult)res).reset();
}
return res;
}