#535 - Bean lazy loading can execute an extra query when one of the lazy loaded beans has been deleted

This commit is contained in:
Robin Bygrave committed 2016-01-21 20:51:32 +13:00
1 parent 64618da6a7
commit 6ab974a330
5 files changed
+55 -24

No files matched your search

@@ -190,7 +190,7 @@ public class DLoadBeanContext extends DLoadBaseContext implements LoadBeanContex
}
}
LoadBeanRequest req = new LoadBeanRequest(this, ebi.getLazyLoadProperty(), context.hitCache);
LoadBeanRequest req = new LoadBeanRequest(this, ebi.getLazyLoadPropertyIndex(), ebi.getLazyLoadProperty(), context.hitCache);
context.desc.getEbeanServer().loadBean(req);
}