Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 인프런
- Exception
- AOP
- Spring Boot
- Thymeleaf
- JDBC
- 스프링 핵심 기능
- kotlin
- springdatajpa
- java
- Android
- 스프링
- transaction
- 스프링 핵심 원리
- QueryDSL
- spring
- pointcut
- Servlet
- 백준
- 그리디
- Greedy
- Proxy
- jpa
- 알고리즘
- db
- 자바
- SpringBoot
- 김영한
- http
- JPQL
Archives
- Today
- Total
목록Hibernate5Module (1)
개발자되기 프로젝트
지연로딩과 조회성능 최적화(엔티티 노출)
주문, 배송정보, 회원을 조회하는 api를 만들자 지연로딩 때문에 발생하는 "성능"문제를 단계적으로 해결!!!!! 1. 주문조회 : 엔티티를 직접 노출, X To One 성능 최적화 /** * 연관관계(x to One) * Order-> Member (N:1) * Order -> Delivery (1:1) */ @RestController @RequiredArgsConstructor public class OrderSimpleApiController { private final OrderRepository orderRepository; @GetMapping("/api/v1/simple-orders") public ListordersV1(){ List all = orderRepository.findAllB..
인프런/[인프런] Springboot와 JPA활용 2
2021. 8. 22. 22:35