From 8aafb7650970983f53c853c6e1f4c889e7a13490 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Thu, 14 Mar 2024 09:36:34 +0100 Subject: [PATCH] Not used bi-directional relation removed --- server/src/main/java/access/model/User.java | 4 ---- server/src/main/java/access/voot/VootController.java | 1 - 2 files changed, 5 deletions(-) diff --git a/server/src/main/java/access/model/User.java b/server/src/main/java/access/model/User.java index 8e9a76d4..3213f5a7 100644 --- a/server/src/main/java/access/model/User.java +++ b/server/src/main/java/access/model/User.java @@ -74,10 +74,6 @@ public class User implements Serializable, Provisionable { @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.EAGER, cascade = CascadeType.ALL) private Set userRoles = new HashSet<>(); - @OneToMany(mappedBy = "user", orphanRemoval = true, fetch = FetchType.LAZY, cascade = CascadeType.ALL) - @JsonIgnore - private Set remoteProvisionedUsers = new HashSet<>(); - @Transient private List> applications = Collections.emptyList(); diff --git a/server/src/main/java/access/voot/VootController.java b/server/src/main/java/access/voot/VootController.java index ef75f185..e7536f3c 100644 --- a/server/src/main/java/access/voot/VootController.java +++ b/server/src/main/java/access/voot/VootController.java @@ -1,6 +1,5 @@ package access.voot; -import access.aggregation.AttributeAggregatorController; import access.model.Role; import access.model.User; import access.model.UserRole;