Ignore:
Timestamp:
02/05/22 22:48:19 (2 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
2efe93e
Parents:
5b447b0
Message:

Fixed and added a better front end, improved clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/model/Movie.java

    r5b447b0 rf25e8dd  
    66import com.wediscussmovies.project.model.relation.MovieRates;
    77import lombok.Data;
     8import org.hibernate.annotations.Fetch;
    89
    910import javax.persistence.*;
     
    3738    private Double imdbRating;
    3839
    39     @OneToMany(mappedBy = "movie")
     40    @OneToMany(mappedBy = "movie", fetch = FetchType.LAZY)
    4041    private Collection<MovieActors> actors;
    4142    @OneToMany(mappedBy = "movie")
Note: See TracChangeset for help on using the changeset viewer.