MENU

Fun & Interesting

Master Spring Data JPA Entity Mapping - One To Many ( 1 - M ) relationship | Spring Boot Tutorial

Selenium Express 5,502 3 months ago
Video Not Working? Fix It Now

In this video, We will learn the One To Many ( 1 - M ) and Many To One ( M - 1) relationship. In Spring boot We can achieve these by using @OnetoMany , @ManyToOne , @JoinColumn and a mappedBy attribute. But the very important thing here is to identify the one side and the many side and placing these spring boot annotations correctly. So Let's dive in and learn the Spring data jpa's entity mapping for OneToMany and ManyToOne relationship. Timestamp ------------------ 00:00:00 - Spring Boot simple data jpa project walkthrough 00:17:54 - One to Many mapping in dbms 00:27:53 - Implementing One To Many in Spring boot 00:29:36 - @OneToMany and @JoinColumn 00:42:00 - @ManyToOne in spring data jpa 00:58:19 - CasecadeType Persist 01:02:51 - @OneToMany mappedBy 01:12:56 - lazy and eager initialization in spring / hibernate #springdatajpa #onetomany #springboot For More free/paid courses visit www.seleniumexpress.com LINKS AND FREE LEARNING RESOURCES ======== Watch my new mock interview series for java developers https://youtu.be/yX2w-Sof95s Watch Spring boot Hot topics https://youtu.be/CUQWZHjuq-w Java Interview / Question and Answer series https://youtu.be/Y1uGGTrBYKw Explain spring Bean Lifecycle https://youtu.be/hUYGGqoXEPc spring core https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi spring mvc https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1 spring mvc intermediate https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr Spring JDBC https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j spring live project https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f SPRING SECURITY COURSE[NEW] https://youtu.be/NMNLozLGT1s For more courses visit https://www.seleniumexpress.com Any time you are getting stuck with issues, Feel free to ask for support. You can send mail to [email protected] you can ping me on my Facebook page https://www.facebook.com/seleniumexpress Make sure to join my private Facebook page (Ask me here) “SeleniumExpress - Support" https://www.facebook.com/groups/187000222361579/ you can ask for support in my website forum https://www.seleniumexpress.com Subscribe to my youtube channel Follow me on Insta https://www.instagram.com/selenium_express/

Comment