rewrote query (#53)

This commit is contained in:
Athou
2013-04-25 13:14:21 +02:00
parent 7912e1e098
commit 98d73ab747
3 changed files with 6 additions and 7 deletions

View File

@@ -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);