@Transactional public Movie getMovie(String id) throws Exception { MovieData md = movieRepository.getAMovie(id); LOG.debug("Movie data after getting a movie is {}", md); Movie movie = movieRepository.findById(id); LOG.debug( "Movie by id {} is {} with cast {} and directors {}", id, movie, movie.getActors(), movie.getDirectors()); LOG.debug("Movie by id {} has roles {}", id, movie.getRoles()); return movie; }