@ManyToMany(mappedBy = “foo”)
The documentation says: If the association is bidirectional, one side has to be the owner and one side has to be the inverse end (ie. it will be ignored when updating the relationship values in the association table): So, the side which has the mappedBy attribute is the inverse side. The side which doesn’t have … Read more