From 6c07123da37d8ff097457a98d3a431671344c4af Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Mon, 13 Aug 2018 18:29:12 +0800 Subject: [PATCH] --- src/org/redkale/source/EntityCache.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);