diff --git a/src/org/redkale/source/EntityCache.java b/src/org/redkale/source/EntityCache.java index e7cd9f5c3..2e3d1623e 100644 --- a/src/org/redkale/source/EntityCache.java +++ b/src/org/redkale/source/EntityCache.java @@ -99,7 +99,10 @@ public final class EntityCache { } public void fullLoad() { - if (info.fullloader == null) return; + if (info.fullloader == null) { + this.fullloaded = true; + return; + } this.fullloaded = false; ConcurrentHashMap newmap = new ConcurrentHashMap(); List all = info.fullloader.apply(info.source, type);