mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#799 - Query.fetch(path) when converted to query join default to batchSize 10 rather than 100
This commit is contained in:
@@ -56,11 +56,9 @@ public abstract class DLoadBaseContext {
|
||||
|
||||
int queryBatchSize = queryProps.getQueryFetchBatch();
|
||||
if (queryBatchSize == -1) {
|
||||
// not eager query fetch, just lazy loading
|
||||
return batchSize;
|
||||
|
||||
} else if (queryBatchSize == 0) {
|
||||
// default query fetch batch size is 100
|
||||
return 100;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user