Remove accounts references from User

This commit is contained in:
Marcel Schwarz 2020-05-20 23:45:36 +02:00
parent 5eb6efcffe
commit 5e161d9c9d
2 changed files with 0 additions and 5 deletions

View File

@ -20,7 +20,6 @@ public class TimetrackAccount {
private String name;
private String description;
@JsonBackReference
@ManyToOne
private TimetrackUser user;

View File

@ -32,10 +32,6 @@ public class TimetrackUser {
@ManyToOne(fetch = FetchType.EAGER)
private Role role;
@JsonManagedReference
@OneToMany(mappedBy = "user", fetch = FetchType.LAZY)
private List<TimetrackAccount> accounts;
@ManyToOne
private Location location;