Post

2023-07-18-TIL

2023-07-18-TIL

Today I Learned

org.hibernate.LazyInitializationException: could not initialize proxy

@Transactional이 없으면 해당 에러가 발생한다.

  • https://www.baeldung.com/hibernate-initialize-proxy-exception
  • https://cantcoding.tistory.com/78
  • https://zzang9ha.tistory.com/406
  • https://stackoverflow.com/questions/21574236/how-to-fix-org-hibernate-lazyinitializationexception-could-not-initialize-prox
  • https://velog.io/@ohjinseo/%ED%85%8C%EC%8A%A4%ED%8A%B8-%EC%BD%94%EB%93%9C%EC%97%90%EC%84%9C-getOne-%EB%98%90%EB%8A%94-getById%EC%93%B8-%EC%8B%9C-LazyInitializationException-could-not-initialize-proxy-no-Session
This post is licensed under CC BY 4.0 by the author.