mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#319 - Beans loaded without an @Id value ... return in NEW state rather than LOADED state (also refer to #317)
This commit is contained in:
1 parent
b4008da70c
commit
0f7c9da5d2
2 files changed
+2
-2
No files matched your search
@@ -276,7 +276,7 @@ public class SqlTreeNodeBean implements SqlTreeNode {
|
||||
if (Mode.LAZYLOAD_BEAN.equals(queryMode)) {
|
||||
// Lazy Load does not reset the dirty state
|
||||
ebi.setLoadedLazy();
|
||||
} else {
|
||||
} else if (readId) {
|
||||
// normal bean loading
|
||||
ebi.setLoaded();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user