How To Fix Infinite recursion Loop in Spring boot

preview_player
Показать описание

In this video I will explain to you how to fix the infinite loop recursion exception that you might encounter while working with spring boot and spring data jpa

🎁 🚀 COUPON Code: EARLYBIRD20

Don't Forget to
===========================================
💯 Subscribe to the youtube channel

Time Stamps:
0:00 Introduction
2:23 Introduce the infinite loop recursion exception
05:41 Fix the issue
09:46 Outro

If you find this video helpful, please give it a thumbs up, share it with your peers, and subscribe to our channel for more programming tutorials. Feel free to leave any questions or suggestions in the comment section below.
Рекомендации по теме
Комментарии
Автор

Join the Micro Services course waiting list and get and get an exclusive EARLY-BIRD discount

boualiali
Автор

I was creating a new DTO class to avoid this Exception. WOW you're opening new world to us Mr. Ali.
I hope new courses price will be as low as possible because I wanna buy that.

aziztolearn
Автор

After watching your JWT videos, I finally managed to implement it as a foundation for my upcoming projects. As I began integrating my own controllers, such as fetching all users or changing user roles, that only admins could perform these actions. Unfortunately, I found myself stuck in this loop error and facing access denied messages as last. After dedicating over a week to troubleshooting, I reached a point of frustration and considered giving up entirely.
However, my perseverance led me to seek out more resources on Spring Boot on your channel. Your explanation resolved my issue completely. I can't express enough gratitude for your willingness to share your expertise with the public. Sincere thanks for real.

xperttt
Автор

If you put a breakpoint in this object, I'm still with a StackOverFlow exception by this infinity reference loop, I'm already use both Json(Manage/back)Reference notations. How to solve this?

pedropadilha
Автор

this video really improve my understanding about spring boot relationship.

kutalz
Автор

Wow, this tutorial is fantastic! Thank you so much for taking the time to create this incredibly helpful video. 🙏🙏🙏

stevegatspaul
Автор

Thanks for the video. Looking forward to the course.

ggriffaw
Автор

Thank you, my friend. You read my mind. I recently encountered this issue.

DashaZakella
Автор

thx a lot it helps so much looking for the course.

logtariyoussef
Автор

how is this different from @JsonIgnore ? or does it do the same thing ?

simplyabdou
Автор

This was really helpful, but what if I wanted to list the students, and be able to see the school of each one too?. I don´t find a way to do this.

joacoschanz
Автор

Hi, thanks for the quality of contents, and i'm realy learny from your channel but i will also realy be please to see you offer us some contents on AWS about how to deploy spring boot and angular projects on AWS.
Thanks and God bless you

youbabagayogo
Автор

in this moment 9:21 does you talk about using DTO deisgn patterns so that we don't need to pass a an object just pass for example the name of the subject and in our business logic we can searchf or that subject name in our database and then associate the subject object we just found to the student.right ? or you are talking about another solution ?

kinsmicket
Автор

Is there any way to create multiple jsonbackrefrence in a single entity ?
Please answer I am getting this error

clipy
Автор

When's the next vid coming??
Also please make a video on Unidirectional and Bidirectional Many to Many relationship in spring boot. Also on cascade types

abdul-razaktwaha
Автор

Btw Bouali, can you make a video to how to resolve N+1 query problem in Spring JPA please. Many thanks!

philong
Автор

If i want to get information from both sides, it means that i want to know the school id from student and student id from school, so how to do it in this case

belhadjgaddour
Автор

Hi @Bouali Ali, what do you consider when you say the parent/owner of the relationship? Would that be the entity where we have the @JoinColumn and @OneToMany or whatever relationship? And the mappedBy entity would be the child correct? Because in this video I think it is the opposite and I was just wondering. Thank you :)_

enishalilaj
Автор

One single annotation could saved all hahah

saifjuini
join shbcf.ru