JPA N+1

@Query("select e from Employee e") @EntityGraph(value = "graph.Employee.assignments", type = EntityGraph.EntityGraphType.FETCH) List<Employee> findAll
posted @ 2020-08-17 15:20  zhh  阅读(461)  评论(0编辑  收藏  举报