Changeset 42d565b in Git for src/main/java/com/wediscussmovies/project/model
- Timestamp:
- 02/06/22 21:38:16 (3 years ago)
- Branches:
- main
- Children:
- 7f36551
- Parents:
- 5b447b0 (diff), 2efe93e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/06/22 21:38:16)
- git-committer:
- GitHub <noreply@…> (02/06/22 21:38:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/model/Movie.java
r5b447b0 r42d565b 6 6 import com.wediscussmovies.project.model.relation.MovieRates; 7 7 import lombok.Data; 8 import org.hibernate.annotations.Fetch; 8 9 9 10 import javax.persistence.*; … … 37 38 private Double imdbRating; 38 39 39 @OneToMany(mappedBy = "movie" )40 @OneToMany(mappedBy = "movie", fetch = FetchType.LAZY) 40 41 private Collection<MovieActors> actors; 41 42 @OneToMany(mappedBy = "movie")
Note:
See TracChangeset
for help on using the changeset viewer.