Package io.ebeaninternal.server.core
Class DiffHelp
- java.lang.Object
-
- io.ebeaninternal.server.core.DiffHelp
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,ValuePair>
diff(Object newBean, Object oldBean, BeanDescriptor<?> desc)
Return a map of the differences between a and b.
-
-
-
Method Detail
-
diff
public static Map<String,ValuePair> diff(Object newBean, Object oldBean, BeanDescriptor<?> desc)
Return a map of the differences between a and b.A and B must be of the same type. B can be null, in which case the 'dirty values' of a is returned.
This intentionally does not include as OneToMany or ManyToMany properties.
-
-