diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductSrsAll.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductSrsAll.java index f6d8247..8ed1966 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductSrsAll.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductSrsAll.java @@ -26,12 +26,13 @@ public class ProductSrsAll extends AbstractGsrsEntity { @JoinColumn(name = "PRODUCT_ID", referencedColumnName = "PRODUCT_ID") @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType.ALL) - public List applicationIngredientList = new ArrayList<>(); + public List applicationProductNameList = new ArrayList<>(); @LazyCollection(LazyCollectionOption.FALSE) @JoinColumn(name = "PRODUCT_ID", referencedColumnName = "PRODUCT_ID") @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL) - public List applicationProductNameList = new ArrayList<>(); + public List applicationIngredientList = new ArrayList<>(); + public ProductSrsAll () {}