Тёмный

Jackson - Bidirectional Relationships | @JsonManagedReference, @JsonBackReference | Spring Boot 

Learn Code With Durgesh
Подписаться 300 тыс.
Просмотров 67 тыс.
50% 1

Jackson - Bidirectional Relationships | @JsonManagedReference, @JsonBackReference | Spring Boot
#springboot #spring boot tutorial
Download Source Code: learncodewithd...
Spring-boot full playlist: • Spring Boot Tutorial i...
Spring MVC playlist: • Spring MVC Tutorial St...
Spring framework playlist: • Spring Framework Tutor...
MySQL in one video: • Learn MySQL in one vid...
Telegram Link for Doubt: t.me/learncode...
Important Videos:
➡️React JS with Project: • 🔥 🔥 Complete React Js ...
➡️Learn JDBC in one video: • JDBC Crash Course in 1...
➡️Learn Python in One Video: • Learn Python in One Vi...
➡️Learn HTML in one video: • Jquery in one video in...
➡️Learn HTML form in one video: • Jquery in one video in...
➡️Learn JavaScript in one videos: • Learn JavaScript in O...
➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
➡️Learn CSS in one video: • Jquery in one video in...
➡️Jquery in one video: • Jquery in one video in...
➡️Kotlin is one video: • Kotlin | Learn Kotlin ...
➡️Complete Python Project - RU-vid downloader in one video: • Jquery in one video in...
Important Playlist:
➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
➡️Hibernate Tutorials: • Hibernate Tutorial for...
➡️E-Commerce Project using Java: • E-Commerce Project usi...
➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
➡️Learn Technology in One Vides: • Learn in one video : C...
➡️Programming Tips for Programmers: • Coding Tips and Discus...
➡️Complete Python for Beginners: • Complete Python Tutori...
➡️Important Python Projects: • Python Projects in Hindi
➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
➡️Java Swing Projects: • Java Projects for begi...
➡️Java Core Concepts: • Java Core Tutorial
➡️Kya aap Jante hai Series: • kya app jante hai : s...
Important Links:
👉Official Website (Source Code): learncodewithd...
👉Telegram Discussion Group: t.me/learncode...
👉Follow me on Instagram: / durgesh_k_t
👉Follow on Facebook / learncodewithdurgesh
Gear that I use:
Gears that I Use:
Lenovo Ideapad S145 AMD Ryzen 5 15.6
amzn.to/33Vvxu2
Mic for Recording
amzn.to/305hgtr
amzn.to/2EyFMfa
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@LalitPatel-e1r
@LalitPatel-e1r Год назад
wonderful explaination durgesh bhaiya i watch multiple videos on mapping but your video cleared all my doubts your video made my day thank you durgesh bhaiya
@ujashprajapati8818
@ujashprajapati8818 4 года назад
awesome content for free...:)) thank you so much sir.. please provide tutorial on spring boot security also
@ashishsingh-gp6lt
@ashishsingh-gp6lt 2 года назад
What is the use of Bidirectional mapping then if we have to use @JsonBackReference at last for managing infinite case? As in the example we will not be able to fetch book details from author table right
@ahmedrasheed579
@ahmedrasheed579 10 месяцев назад
i also have same question if you have answer so please tell me
@jatinsharma3792
@jatinsharma3792 Год назад
You save my life I messed up for couple of days with the @JsonIgnoreProperties Which is so complicated this this OneToMany, Party de deta aap mile jate toh aaj toh !! :D
@PratyushMishra7
@PratyushMishra7 4 года назад
Nice vdo
@nan7555
@nan7555 5 месяцев назад
@LearnCodeWithDurgesh many of us are confused on how to get Book details using author id similarly that we get author from book id. what's the purpose of bi directional mapping if we are not going to use it. Sir kindly make a video on it as well.
@rrohan7351
@rrohan7351 2 месяца назад
Same doubt here
@rupeshroy1325
@rupeshroy1325 Год назад
love u sir .... u are very sweet sir..... ur way of teaching is best.
@siddhantsharma9824
@siddhantsharma9824 2 месяца назад
just one question at 11:32 you said that child will not be converted to json so that means that memory will be consumed at backend but just not show the data?
@rishiraj2548
@rishiraj2548 Год назад
I had been searching for this concept for some weeks. Great thanks!!
@vinorzo4216
@vinorzo4216 4 года назад
Bhaiya spring security ka concept clear kra do
@yuvrajsinghcme1143
@yuvrajsinghcme1143 Год назад
What is the real life use of Bidirectional relationships, You didn't show us that how we can fetch the information from author to book. By using these two annotation we can get rid of infinite loop, But at the same time we also want the purpose of Bidirectional Relationships. Please tell us how we can fetch information of book from author????? Thanks in Advance
@amoghchavan970
@amoghchavan970 6 месяцев назад
use dto
@akashtanajigurav8226
@akashtanajigurav8226 Месяц назад
to fetch data from multiple tables simple create DATABASE view in that use joins and create entity of that view that's it
@AR-nw6dv
@AR-nw6dv Месяц назад
When we work on big project mostly we use it ... suppose you have cart and cart can have multiple item ... Evey table has unique I'd so that we can go back
@ElonMusk-wo7zf
@ElonMusk-wo7zf Год назад
@JsonIgnoreProperties Please make a video on this one.
@yashmaheshwari5640
@yashmaheshwari5640 2 года назад
really helpful video. thanks
@hansapirwani8336
@hansapirwani8336 Год назад
Thank you sir , finally my this concept has been cleared.🤗
@mohdarsalan7195
@mohdarsalan7195 7 месяцев назад
could you please help regards jpa and database in spring boot
@harshitsachdeva4836
@harshitsachdeva4836 4 года назад
Bhai spring security ,docker aur micro service bhi lao
@anilgadekar3036
@anilgadekar3036 3 года назад
Hi Durgesh, it's really valuable content, but I have small doubt, u said it's bidirectional when we search using id and if Author has its respective book, then how we can use in real case project(how its actual useful in project) ? can you please elaborate that.
@manojbhale6081
@manojbhale6081 4 года назад
Sir spring boot microservice k video bnaiye...Hindi Maine available nhi h...
@madhavdeshmukh8419
@madhavdeshmukh8419 2 года назад
Nice explained Sir...
@gupteswarmisra4677
@gupteswarmisra4677 2 года назад
Not sure if u r monitoring the thread, if so can you plz address this. What if the author has another object (say, Language language) then author will be child of book and parent of language in which case author will have both JsonManagedReference and JsonBackReference. Will it create ambiguity or is there a way to let the compiler know for book it is JsonManagedReference and for language it is JsonBackReference?
@pradeeppanwar8227
@pradeeppanwar8227 2 года назад
Please make vedio on Mybatis dynamic SQL query in Java code with filters.
@sharmarahul17
@sharmarahul17 Год назад
Great thanks!
@intakhabalam4469
@intakhabalam4469 4 года назад
Please Sir make tutorial on spring boot security also
@TheIndianVCC
@TheIndianVCC 2 года назад
In last(24th) video, You said this will help when A book has more than one authors! How it will be used!? Can you please help.
@GautamKumar-ie3rf
@GautamKumar-ie3rf 3 года назад
Sir you are awesome !!
@rishiraj2548
@rishiraj2548 11 месяцев назад
priceless video!!!
@arjunchaurasiya6709
@arjunchaurasiya6709 9 месяцев назад
congratulation sir for 250K subscriber🎉🎉😇
@maheshphale2412
@maheshphale2412 Год назад
sir how can we do CRUD operation using Two entities???????
@SangeetaMourya-ur4fj
@SangeetaMourya-ur4fj Год назад
Bank application ke based ek project banaiye plz jisme RBAC or transaction ko ap implement krke dikhaye please.
@ksaikumarnaik271
@ksaikumarnaik271 4 года назад
Really awesome bro... No where i have got these stuff really... ur great bro... But when i am trying to give first author details from postman ,again i am giving book details from postman with same given author id... i am getting additional values in author table ... and in the book table author-id is getting increment .... Does it mean first i have too give inversely but in real world scenarios ... user first register and if he add his card details... does it satisfy the condition.. ..
@ishangarg9199
@ishangarg9199 4 года назад
please also cover this relation also (@MapKey,@MapKeyEnumerated,@MapKeyTemporal,@MapKeyJoinColumn) spring-boot JPA .
@sujitkate1781
@sujitkate1781 Год назад
Nice Video.
@aniruddhachunne3011
@aniruddhachunne3011 2 года назад
I always love your tutorial
@girish_patil
@girish_patil 4 года назад
Angular ki series kab start hogi sir??
@riteshmalav2448
@riteshmalav2448 4 года назад
sir multithreading ki tutorial lekr aoo
@Playing_Jef
@Playing_Jef 4 года назад
what if I query Book? here Book will be pared. will I get the author in this case??
@himanshunegi8108
@himanshunegi8108 2 года назад
In case of DTOS, where we need to put these annotations in DTO OR ENTIty?
@sameerkadgaye3745
@sameerkadgaye3745 4 года назад
Thank you sir
@Vinu-Arts
@Vinu-Arts Год назад
thank you so much sir............
@Vivek-pandey
@Vivek-pandey 9 месяцев назад
I love you sir ji ❤❤
@ishusuryavanshi8435
@ishusuryavanshi8435 4 года назад
😊😊😊😊😊😊😊😊😊😊😊 sir aap gazab hoo
@ashokgangola
@ashokgangola Год назад
ye problem to aati hi h bidirectional mapping m but agar @JsonBackReference jis entity m lgaya h Author m uska data book k sath nikalna h tb book wala data nhi aata h. is case m bidirectional mapping ka meaning kya rh jata h
@sharm540
@sharm540 4 года назад
Sir spring Boot hibernate ka project upload kro
@ashishgoel34
@ashishgoel34 2 года назад
How to get the book object when we call fetch the authors.
@darshanrajashekhar5914
@darshanrajashekhar5914 2 года назад
please upload one to many mapping sir
@RanveerSingh-yz3fv
@RanveerSingh-yz3fv 4 года назад
sir spring boot mae kitte concepts left h aur
@PrakashBesra
@PrakashBesra 3 года назад
What if I don't want spring to create database table for me? I want to design database tables first. How to do that?
@LearnCodeWithDurgesh
@LearnCodeWithDurgesh 3 года назад
You can change the settings in hibernate property file or config
@PrakashBesra
@PrakashBesra 3 года назад
@@LearnCodeWithDurgesh Thank you for reply. Any link, you can share?
@pradeepk2864
@pradeepk2864 Год назад
getting data from both sides is not working. please update the video sir
@studypoint6920
@studypoint6920 3 года назад
thnks sirji
@shivajikoli461
@shivajikoli461 Год назад
👌👌👌👌👌
@nitinjagannath9219
@nitinjagannath9219 4 года назад
Spring security and microservuces make video
@samimmolla3821
@samimmolla3821 4 года назад
Please sir make a spring boot web project....
@shadowheist396
@shadowheist396 5 месяцев назад
I am getting 404 not found in postman what to do?
@User-ow7rn
@User-ow7rn 3 года назад
spirngboot is good with react js or angular js?
@manojpatil2457
@manojpatil2457 2 года назад
There is nothing like good or bad. .. Integration is done with API's
@zaid696
@zaid696 3 года назад
plss use dto class in ur rest api crud application
@shivamgupta5476
@shivamgupta5476 3 года назад
But How can we get vice-versa . Only data from one side for both table but in opposite,We get data from one table .
@sachinmankotia2291
@sachinmankotia2291 2 года назад
same question. If we have done bi-direction mapping, then ideally by calling Book GET, we should get Author details. and by calling Author API, we should get Book details, but its not working.
@Aakashkumar-pc3xs
@Aakashkumar-pc3xs Год назад
He smartly avoided that scenario in his video, sir viewer are not stupid , if you didn’t cover that part then you should honestly mention in your video.
@ravindrakawale5161
@ravindrakawale5161 3 года назад
🙌🙌👍👍
@mohdarsalan7195
@mohdarsalan7195 7 месяцев назад
it's not working properly
@peterfernandes9011
@peterfernandes9011 3 года назад
What if i want both ways. Like we get got book and its author like (localhost:8080/books/8). Similarly I need author and its book. (localhost:8080/author/2). But i only get author json without book.
@santosh050
@santosh050 3 года назад
You are creating awesome videos useful for the intermediate developer, I use @JsonManagedReference, @JsonBackReference to get the data in association but i can't put the data in the database my humble request to you create a video on post data using com.fasterxml.jackson.core .
Далее
다리찢기 고인물⁉️😱 Leg Splits Challenge
00:37
I tried Spring Boot
22:52
Просмотров 72 тыс.
Serialize and Deserialize JSON using Jackson
35:51
Просмотров 7 тыс.
다리찢기 고인물⁉️😱 Leg Splits Challenge
00:37