private LogEntryIterator queryDatabase(final DBTransaction transaction, final String timedate) throws SQLException {
Map<String, Object> params = new HashMap<String, Object>();
params.put("timedate", timedate);
final ResultSet resultSet = transaction.query(SQL, params);
return new LogEntryIterator(resultSet);
}