내용으로 건너뛰기
권남
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
java:jpa:entitygraph
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== JPA Named Entity Graph ====== * EntityGraph를 통해서 N + 1 문제 해결이 가능하다. * ''join fetch''와 유사하지만 차이점이 있다. * [[java:jpa:springdatajpa|Spring Data JPA]]에서는 ''@EntityGraph''로 사용 가능하다. * [[java:hibernate:performance|Hibernate Performance Tuning]] * [[https://www.youtube.com/watch?v=Dr5Qn6NC-3Y|5 ways to initialize lazy associations and when to use them - YouTube]] ===== spring-data-jpa-entity-graph ===== * [[https://github.com/Cosium/spring-data-jpa-entity-graph|Cosium/spring-data-jpa-entity-graph: Spring Data JPA extension allowing full dynamic usage of EntityGraph on repositories]] * CrudRepository 를 확장하여, EntityGrapth를 파라미터로 넘길 수 있기 하는 방식. ===== 참고 ===== * [[https://www.thoughts-on-java.org/jpa-21-entity-graph-part-1-named-entity/|JPA 2.1 Entity Graph : Part 1- Named entity graphs - Thoughts on Java]] * [[https://www.thoughts-on-java.org/jpa-21-entity-graph-part-2-define/|JPA 2.1 Entity Graph : Part 2- Define lazy/eager loading at runtime - Thoughts on Java]] * [[https://jojoldu.tistory.com/165|JPA N+1 문제 및 해결방안]] * [[https://www.baeldung.com/jpa-entity-graph|JPA Entity Graph | Baeldung]] * [[https://www.radcortez.com/jpa-entity-graphs/|JPA Entity Graphs | Roberto Cortez Java Blog]] * [[https://softwarehut.com/blog/no-lazyinitializationexception-use-jpa-2-1-entity-graph/|No More LazyInitializationException – Use JPA 2.1 Entity Graph - SoftwareHut]]
java/jpa/entitygraph.txt
· 마지막으로 수정됨: 2020/11/12 14:53 저자
kwon37xi
문서 도구
문서 보기
이전 판
역링크
맨 위로