mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
#2748 - Fix setDisableLazyLoading(true) ... does not set fully loaded state [fully loaded bean scenario]
This commit is contained in:
1 parent
9252e72581
commit
48404fc85d
2 files changed
+44
No files matched your search
@@ -270,6 +270,9 @@ class SqlTreeLoadBean implements SqlTreeLoad {
|
||||
if (disableLazyLoad) {
|
||||
// bean does not have an Id or is SqlSelect based
|
||||
ebi.setDisableLazyLoad(true);
|
||||
if (!partialObject) {
|
||||
ebi.setFullyLoadedBean(true);
|
||||
}
|
||||
} else if (partialObject) {
|
||||
if (readId) {
|
||||
// register for lazy loading
|
||||
|
||||
Reference in new issue
Block a user