LazyInitializationException in SpringBoot JPA | could not initialize proxy - no Session | SpringBoot

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2021
  • In this video you will learn how to solve LazyInitializationException error when working with JPA and Hibernate in Spring Boot and Spring Data applications.
    My Top Playlists:
    Spring Boot with Angular : • Spring Boot + Angular
    Spring Boot with Docker & Docker Compose : • Spring Boot Docker & D...
    Spring Boot with Kubernetes : • Spring Boot Docker Kub...
    Spring Boot with AWS : • Spring Boot + AWS
    Spring Boot with Azure : • Spring Boot Azure
    Spring Data with Redis : • Spring Data with Redis
    Spring Boot with Apache Kafka : • Apache kafka
    Spring Boot with Resilience4J : • SpringBoot Resilience4j
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @ndiritu_nyakiago
    @ndiritu_nyakiago 4 หลายเดือนก่อน

    thanks. I added @Transactional annotation on top of the service and it worked

  • @Dneprianin
    @Dneprianin 2 ปีที่แล้ว

    Hi! I added 3 @NamedAttributeNode and it does not work... Do you know the solution?

  • @calintamas7576
    @calintamas7576 2 ปีที่แล้ว +3

    Nice! Thx! Is it possible a git repository for this demo?

  • @nageshkumarn1599
    @nageshkumarn1599 2 ปีที่แล้ว +1

    Do we get git repository

  • @hirensoni7636
    @hirensoni7636 ปีที่แล้ว +1

    great i just add @Transactional below @service like u said and it worked

  • @AliAlshishani
    @AliAlshishani ปีที่แล้ว

    thank you