mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#406 - Remove diff "non flat mode" ... so diff going forward only supports flat mode
This commit is contained in:
1 parent
54172aec6c
commit
088fcfb296
7 files changed
+42
-168
No files matched your search
@@ -2073,6 +2073,15 @@ public class BeanDescriptor<T> implements MetaBeanInfo, SpiBeanType<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the diff comparing the bean values.
|
||||
*/
|
||||
public Map<String, ValuePair> diff(EntityBean newBean, EntityBean oldBean) {
|
||||
Map<String, ValuePair> map = new LinkedHashMap<String, ValuePair>();
|
||||
diff(null, map, newBean, oldBean);
|
||||
return map;
|
||||
}
|
||||
|
||||
/**
|
||||
* Populate the diff for updates with flattened non-null property values.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user