Maintain correct record counts for cacheless finds.

This commit is contained in:
Par Winzell
2010-06-24 18:15:40 +00:00
parent 75a22f5584
commit a0e8c602ed
@@ -243,6 +243,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
if (_qkey != null) {
ctx.cacheStore(CacheCategory.RESULT, _qkey, result); // cache the entire result set
}
_uncachedRecords += result.size();
return result;
}