mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
Suggested fix
This commit is contained in:
1 parent
2b21588c90
commit
52ca271a13
1 file changed
+1
-1
@@ -190,7 +190,7 @@ final class DLoadBeanContext extends DLoadBaseContext implements LoadBeanContext
|
|||||||
// lazy load property was a Many
|
// lazy load property was a Many
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (list.isEmpty()) {
|
if (!list.contains(ebi)) {
|
||||||
// re-add to the batch and lazy load from DB skipping l2 cache
|
// re-add to the batch and lazy load from DB skipping l2 cache
|
||||||
list.add(ebi);
|
list.add(ebi);
|
||||||
} else if (context.hitCache) {
|
} else if (context.hitCache) {
|
||||||
|
|||||||
Reference in new issue
Block a user