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

This commit is contained in:
Rob Bygrave
2014-08-22 00:41:12 +12:00
parent 5cf008b521
commit 29f1e63146
3 changed files with 266 additions and 1 deletions
@@ -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);
}