@Column(name = "Name", unique = true)
private String name;
@OneToMany(mappedBy = "project",</BUG>
cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE },
fetch = FetchType.EAGER)
<BUG>private Set<Document> documents = new HashSet<>();
@ManyToMany(cascade = { CascadeType.PERSIST, CascadeType.MERGE })</BUG>
@JoinTable(
name="PROJECTS_MANAGER",
joinColumns={@JoinColumn(name="PROJECT_ID", referencedColumnName="id")},

@Column(name = "Name", unique = true)
private String name;
@JsonView({ View.Projects.class })
@OneToMany(mappedBy = "project",
cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE },
fetch = FetchType.EAGER)
private Set<Document> documents = new HashSet<>();
@JsonView({ View.Projects.class })
@ManyToMany(cascade = { CascadeType.PERSIST, CascadeType.MERGE })
@JoinTable(
name="PROJECTS_MANAGER",
joinColumns={@JoinColumn(name="PROJECT_ID", referencedColumnName="id")},
