Hi community,

We came accross a use case with a queryCount() call that would greatly benefit from cache.

But it seems that the queryCount() method doesn't use cache ever [1]

Would it be a good idea to allow the use of cache in queryCount() ?

I can't really see a side effect yet and i didn't find any historical reason for this behaviour.


Best regards, Gaetan

[1] https://github.com/apache/ofbiz-framework/blob/5bb12e6693f1e51b6ea6f85f618f000d9d3000fd/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityQuery.java#L454

Reply via email to