mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2278 - Do not override empty json collections, when database value is null
This commit is contained in:
1 parent
e62bb3dc6b
commit
2691221168
3 files changed
+17
-2
No files matched your search
@@ -234,8 +234,7 @@ public class TestDbJson_List extends BaseTestCase {
|
||||
bean.setBeanMap(null);
|
||||
DB.save(bean);
|
||||
|
||||
bean = DB.find(EBasicJsonList.class)
|
||||
.setId(bean.getId()).findOne();
|
||||
bean = DB.find(EBasicJsonList.class).setId(bean.getId()).findOne();
|
||||
|
||||
assertThat(bean.getFlags()).isEmpty();
|
||||
assertThat(bean.getTags()).isEmpty();
|
||||
|
||||
Reference in new issue
Block a user