fixed merge bug: cascade = CascadeType.ALL in Article to Categories
This commit is contained in:
parent
c73435b2a0
commit
8c777ca1ff
|
@ -35,7 +35,7 @@ public class Article {
|
|||
@Basic(fetch = FetchType.LAZY)
|
||||
public Image image;
|
||||
|
||||
@ManyToMany
|
||||
@ManyToMany(cascade = CascadeType.ALL)
|
||||
@JoinTable(name = "article_categories_bindings")
|
||||
public Set<Category> categories = new HashSet<>();
|
||||
|
||||
|
|
Reference in New Issue