[Java SpringBoot] FetchType.Lazy로 인한 JSON 오류2021. 8. 3. 15:09
Lazy 로딩으로 인한 JSON 오류
[인하우스키친] Lazy 로딩으로 인한 JSON 오류
안녕하세요 강정호입니다. 오늘은 Hibernate에서 LAZY 로딩으로 인한 JSON Serialization 오류에 대해 알아보겠습니다. 상황 1. 메인 페이지에서 검색창에서 "Search" 버튼을 클릭하게 되면 HostList 페이지로
jhkang-tech.tistory.com
https://ahndding.tistory.com/24
[JPA] FetchType.Lazy로 인한 JSON 오류 (InvalidDefinitionException: No serializer found for class)
발단 Front에서 엔티티를 저장하는 과정에서 처음 데이터를 저장하는 순간에는 올바르게 작동하지만 수정(edit)하고 저장할 때에는 에러(HttpStatus 500)를 리턴한다는 문제가 발생했다. (다만 DB상으
ahndding.tistory.com
'Development > Java SpringBoot' 카테고리의 다른 글
[Java SpringBoot] SpringBoot H2 연결방법(H2 웹콘솔) (0) | 2021.08.05 |
---|---|
[Java SpringBoot] Spring Boot DB 오류해결, DB 사용 안하고 싶을 때 (0) | 2021.08.05 |
[Java SpringBoot] @Bean 과 @Component 차이 (0) | 2021.08.03 |
[Java SpringBoot] Srping Security 권한 직접 체크하기(시큐리티 태그와 인증 클래스) (0) | 2021.08.02 |
[Java SpringBoot] spring security 파헤치기 (0) | 2021.08.02 |