mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: Cache also empty lists
This commit is contained in:
committed by
rob bygrave
parent
cacf033647
commit
4ce484f3f2
@@ -113,7 +113,7 @@ public class CQueryEngine {
|
||||
if (request.isLogSummary()) {
|
||||
request.getTransaction().logSummary(rcQuery.getSummary());
|
||||
}
|
||||
if (request.isQueryCachePut() && !list.isEmpty()) {
|
||||
if (request.isQueryCachePut()) {
|
||||
request.addDependentTables(rcQuery.getDependentTables());
|
||||
|
||||
list = Collections.unmodifiableList(list);
|
||||
|
||||
Reference in New Issue
Block a user