EclipseLink query exceptions using EntityGraph: “You must define a fetch group manager at descriptor” AND “Fetch group cannot be set on report query”
问题 I have the following design: For reference, I'm only posting the SimpleGame entity: @Entity @Table(name = "\"SimpleGames\"") @NamedQuery(name = SimpleGame.FIND_ALL, query = "SELECT ga FROM SimpleGame ga") @NamedQuery(name = SimpleGame.FIND_ALL_JOIN_SCORES_GROUP_BY_GAME_ID, query = "SELECT ga FROM SimpleGame ga JOIN ga.simpleScores sc GROUP BY ga.id") @NamedEntityGraph(name = SimpleGame.FETCH_SCORES, attributeNodes = {@NamedAttributeNode("simpleScores")}) public class SimpleGame implements