mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Fix for #186 - Fix for Lazy load when fetched optional ManyToOne bean is null in database
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user