Fix for #186 - Fix for Lazy load when fetched optional ManyToOne bean is null in database

This commit is contained in:
Rob Bygrave committed 2014-08-22 00:41:12 +12:00
1 parent 5cf008b521
commit 29f1e63146
3 files changed
+266 -1

No files matched your search

@@ -310,7 +310,7 @@ public class SqlTreeNodeBean implements SqlTreeNode {
}
}
if (parentBean != null && contextBean != null) {
if (parentBean != null) {
// set this back to the parentBean
nodeBeanProp.setValue(parentBean, contextBean);
}