X-Git-Url: https://gerrit.onap.org/r/gitweb?p=portal.git;a=blobdiff_plain;f=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fdomain%2Fdb%2Fep%2FEpNotification.java;h=12c161f670699200523ddcfa6f412e0b84ce0641;hp=4fe24bd75e74943c25a961e8c4e9f3316ee2ec2d;hb=682a90dad9795a3fa9aaffbf43c488057b8529e7;hpb=8c6ccfe62953f28f704891c76258d595dc9d0b03 diff --git a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java index 4fe24bd7..12c161f6 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java @@ -41,8 +41,7 @@ package org.onap.portal.domain.db.ep; import java.time.LocalDateTime; -import java.util.ArrayList; -import java.util.List; +import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; @@ -148,12 +147,12 @@ public class EpNotification { cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List epRoleNotifications = new ArrayList<>(); + private Set epRoleNotifications; @OneToMany( targetEntity = EpUserNotification.class, mappedBy = "notificationId", cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List epUserNotifications = new ArrayList<>(); + private Set epUserNotifications; }