[DSC-183] fixes

This commit is contained in:
Mykhaylo
2022-12-01 18:32:11 +01:00
parent 40c0c9b7db
commit b036262514
18 changed files with 180 additions and 107 deletions

View File

@@ -55,7 +55,7 @@ public class Subscription implements ReloadableEntity<Integer> {
@Column(name = "type")
private String type;
@OneToMany(fetch = FetchType.EAGER, mappedBy = "subscription", cascade = CascadeType.ALL, orphanRemoval = true)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "subscription", cascade = CascadeType.ALL, orphanRemoval = true)
private List<SubscriptionParameter> subscriptionParameterList = new ArrayList<>();
/**