#319 - Beans loaded without an @Id value ... return in NEW state rather than LOADED state (also refer to #317)

This commit is contained in:
rbygrave
2015-07-09 22:18:03 +12:00
parent b4008da70c
commit 0f7c9da5d2
2 changed files with 2 additions and 2 deletions
@@ -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();
}