mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
rewrote query (#53)
This commit is contained in:
@@ -129,7 +129,7 @@ public abstract class GenericDAO<T extends AbstractModel> {
|
||||
return criteria.getResultList();
|
||||
}
|
||||
|
||||
protected void limit(TypedQuery<FeedEntryStatus> query, int offset,
|
||||
protected void limit(TypedQuery<?> query, int offset,
|
||||
int limit) {
|
||||
if (offset > -1) {
|
||||
query.setFirstResult(offset);
|
||||
|
||||
Reference in New Issue
Block a user