我有以下错误。 "遇到"伯爵"在角色32,但预期:[]。"
Query query = em.createQuery("SELECT m.title, COUNT(r.id) as Count FROM Movie m, Review r WHERE m.id = r.movie_id GROUP BY m.id, m.title;");
Collection<Movie> result = (Collection<Movie>)query.getResultList();