How to use multiple JOIN FETCH in one JPQL query

前端 未结 3 1984
独厮守ぢ
独厮守ぢ 2020-12-13 13:12

I have below entities:

public class Category {
   private Integer id;

   @OneToMany(mappedBy = "parent")
          


        
3条回答
  •  生来不讨喜
    2020-12-13 13:41

    A workaround is to use @Query and @EntityGraph together, like it mentioned here use @Query and @EntityGraph together

提交回复
热议问题