ps.setString(1, startDate);
ps.setString(2, endDate);
rs = ps.executeQuery();
while (rs.next()) {
results.add(new Article(rs.getString("query1"), rs
.getInt("queryCount")));
}
} catch (SQLException e) {
Logger.error("StatsDAO getTopArticlesAndCounts failure: "
+ e.toString());