Changes in src/main/java/com/wediscussmovies/project/model/Movie.java [f25e8dd:5b447b0] in Git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/model/Movie.java
rf25e8dd r5b447b0 6 6 import com.wediscussmovies.project.model.relation.MovieRates; 7 7 import lombok.Data; 8 import org.hibernate.annotations.Fetch;9 8 10 9 import javax.persistence.*; … … 38 37 private Double imdbRating; 39 38 40 @OneToMany(mappedBy = "movie" , fetch = FetchType.LAZY)39 @OneToMany(mappedBy = "movie") 41 40 private Collection<MovieActors> actors; 42 41 @OneToMany(mappedBy = "movie")
Note:
See TracChangeset
for help on using the changeset viewer.