mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix for #186 - Fix for Lazy load when fetched optional ManyToOne bean is null in database
This commit is contained in:
@@ -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