added on-demand database cleanup (date is hardcoded for the moment)

This commit is contained in:
Athou
2013-06-16 11:48:23 +02:00
parent 2b6ad62f03
commit 379e342e30
11 changed files with 91 additions and 23 deletions

View File

@@ -90,6 +90,6 @@ public class FeedDAO extends GenericDAO<Feed> {
}
public List<Feed> findByTopic(String topic) {
return findByField(Feed_.pushTopic, topic);
return findByField(Feed_.pushTopicHash, DigestUtils.sha1Hex(topic));
}
}