mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2278 - Do not override empty json collections, when database value is null
This commit is contained in:
@@ -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