When using paging we define 'limit' and 'offset' but also we need to know how many records query could return without limitation conditions.
(Example: showing records 50-100 of 874)
So, now we need issue 2 queries 1 with limit condition to obtain records and another one without - to obtain total records count.
Suggestion:
Update method
public ResultsIterator select(final Class beanClass...
2009-06-18 13:13:07 UTC in pBeans Java Persistence Layer and ORM