mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
not needed for count
This commit is contained in:
@@ -50,7 +50,6 @@ public class FeedDAO extends GenericDAO<Feed> {
|
||||
|
||||
query.select(builder.count(root));
|
||||
query.where(getUpdatablePredicates(root).toArray(new Predicate[0]));
|
||||
root.fetch(Feed_.pushInfo, JoinType.LEFT);
|
||||
|
||||
TypedQuery<Long> q = em.createQuery(query);
|
||||
return q.getSingleResult();
|
||||
|
||||
Reference in New Issue
Block a user