JPA实体图:例如
订单 - OrderItem - 产品
@NamedEntityGraph(name = "order",
attributeNodes = @NamedAttributeNode(value = "orderItems", subgraph = "orderItems"),
subgraphs = @NamedSubgraph(name = "orderItems", attributeNodes = @NamedAttributeNode("product")))
为什么没有 joinType order -> orderItems and orderItem -> product
?实体图中的所有连接都应该是左连接?