QueryDSL - query specified join fetching, but the owner of the fetched association was not present in the select list
问题 In my Spring Boot,Data/JPA 2.1/QueryDSL application I have a following entity: @Entity @NamedEntityGraph(name = "graph.CardCategoryLevel", attributeNodes = { @NamedAttributeNode("cardCategory"), @NamedAttributeNode("level") }) @Table(name = "card_categories_levels") public class CardCategoryLevel extends BaseEntity implements Serializable { @Id @SequenceGenerator(name = "card_categories_levels_id_seq", sequenceName = "card_categories_levels_id_seq", allocationSize = 1) @GeneratedValue