#1893 - Failing test for @DbArray with @NotNull

This commit is contained in:
rob bygrave
2019-12-17 16:42:09 +13:00
parent 590cd07d67
commit d8d35b7dd9
2 changed files with 2 additions and 2 deletions
@@ -2,6 +2,7 @@ package org.tests.model.array;
import io.ebean.annotation.DbArray;
import io.ebean.annotation.NotNull;
import javax.persistence.Entity;
import javax.persistence.Id;
@@ -28,7 +29,7 @@ public class EArrayBean {
@DbArray(length = 300)
List<String> phoneNumbers = new ArrayList<>();
@DbArray
@DbArray @NotNull
List<UUID> uids = new ArrayList<>();
@DbArray
@@ -172,7 +172,6 @@ public class TestDbArray_basic extends BaseTestCase {
bean.setName("some nulls");
bean.setPhoneNumbers(null);
bean.setOtherIds(null);
bean.setUids(null);
Ebean.save(bean);
Ebean.delete(bean);