Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.7
-
Fix Version/s: 2.0-M2
-
Component/s: Persistence
-
Environment:Grails 1.3.7, Java 1.6
Description
Even though Named Queries use standard Criteria syntax, the result is an ArrayList instead of a PagedResultList. This makes dealing with pagination difficult.
Issue Links
- is related to
-
GRAILS-2672
Return PagedResultList in case list* methods are provided with max and offset param
-
- relates to
-
GRAILS-8963
Named query with additional criteria does not return PagedResultList
-
Hi John,
Are you aware of the count method? You can use it to get the same totalCount value of PagedResultList