Enhancement 390 : CQuery.GLOBAL_ROW_LIMIT should be configurable
Priority 
Medium
Reported Version 
 
Logged By 
wInuX
Status 
Fixed
Fixed Version 
github
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
09/04/2012
Updated 
09/04/2012
Type 
Enhancement
 
Attachments 
No attachments

With ebean.createQuery(...).setListener(...).findList() construction it is easy to process large tables but currently no more than hardcoded GLOBAL_ROW_LIMIT (1000000) rows are returned. It would be very useful to allow this parameter to be configurable (Like nativesql.defaultmaxrows for native queries). Also it would be nice if limit could be removed (For example: by setting it to zero)

 
wInuX 10 Apr 06:17
patch

I've created patch but do not know how to attach it.

woResponse

Upload a file