ЛР3 корректировка связи

This commit is contained in:
ityurner02@mail.ru 2023-03-26 21:06:58 +04:00
parent 3df09259bd
commit 3ef4a530ee
2 changed files with 0 additions and 2 deletions

Binary file not shown.

View File

@ -16,8 +16,6 @@ public class Film {
inverseJoinColumns = @JoinColumn(name="genre_id") inverseJoinColumns = @JoinColumn(name="genre_id")
) )
private List<Genre> genres; private List<Genre> genres;
@ManyToMany(fetch = FetchType.EAGER, mappedBy = "films")
private List<Collection> collections;
public Film() { public Film() {
} }