Skip to content

Commit

Permalink
fixed application all reindexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Newatia authored and Newatia committed Sep 29, 2021
1 parent 10a60de commit afc161a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<AppIngredientAll> applicationIngredientList = new ArrayList<>();
public List<ProductNameSrsAll> applicationProductNameList = new ArrayList<>();

@LazyCollection(LazyCollectionOption.FALSE)
@JoinColumn(name = "PRODUCT_ID", referencedColumnName = "PRODUCT_ID")
@OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL)
public List<ProductNameSrsAll> applicationProductNameList = new ArrayList<>();
public List<AppIngredientAll> applicationIngredientList = new ArrayList<>();


public ProductSrsAll () {}

Expand Down

0 comments on commit afc161a

Please sign in to comment.