Use new @DbJson dirtyDetection and keepSource attributes

- Bump ebean-annotation with new @DbJson dirtyDetection and keepSource attributes
- Get those to BeanPropertyJsonMapper to chose MutableHash implementation
- Modify MD5MutableHash to include check for isDirty()
- EBasicJsonList needs keepSource=true to pass that test with oldValue
This commit is contained in:
rbygrave
2021-07-29 12:47:10 +12:00
parent 8832bbc57f
commit 5ad8e7ead4
6 changed files with 58 additions and 16 deletions
@@ -31,7 +31,7 @@ public class EBasicJsonList {
@DbJson(length = 700)
Map<String, PlainBean> beanMap = new LinkedHashMap<>();
@DbJson(length = 500)
@DbJson(length = 500, keepSource = true) // such that we can rebuild old values
PlainBean plainBean;
@DbJson(length = 50)