Загрузка...

How One to One bidirectional mapping works in Spring Data JPA ? | spring boot | Hibernate

In this video we will learn to set up a One to One bidirectional mapping in spring boot data JPA. We will also learn about different spring data jpa related annotations like @OneToOne, @JoinColumn etc . Along with that we will have a deep dive on different property associated with the @OneToOne annotation like mappedBy property , cascade type and different available FetchTypes like Lazy and Eager.

As in Spring Boot , Spring Data JPA is an important module to cover, this video will go in detail and explains a lot of internals regarding the way hibernate helps spring data JPA internally to work with the orm relationship mappings.

Highlight of this video are
1.How spring Data JPA Lazy loading works?
2. How to set up a One to OneBidirectional mapping in spring data jpa / hibernate e?
3.How Cascading works ?
4.How a hibernate proxy object works in lazy loading ?
5. In which scenario lazy loading doesn’t work in one to one mapping.

Timestamp
—————
00:00:00 - one to one mapping current setup
00:01:14 - Lazy loading in Spring data Jpa / Hibernate
00:06:22 - The Hibernate proxy object : FetchType.Lazy
00:10:32 - Debug Walkthrough - How Lazy loading works in spring bot data jpa
00:22:41 - Spring data spa cascade types - CascadeType.PERSIST
00:32:25 - One to One bidirectional mapping in spring data jpa / hibernate
00:38:36 - @OneToOne mappedBy property
00:50:50 - the unexpected behaviour of FetchType Lazy from non owning side
01:01:24 - why FetchType.Lazy issuing two select query from the inverse end
01:07:12 - QNA : Spring Data JPA
01:11:46 - does foreign Key allows null value ?

#springboot #springdatajpa #jpa #hibernate #onetoone

For more free/paid courses visit
https://www.seleniumexpress.com

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
https://youtu.be/yX2w-Sof95s

Watch my new Hello spring boot series
https://youtu.be/F_rGkDeihBg?si=AvqLgRVvytkhy8lq

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 seleniumexpress@gmail.com

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

Follow me on Insta
https://www.instagram.com/selenium_express/

Видео How One to One bidirectional mapping works in Spring Data JPA ? | spring boot | Hibernate канала Selenium Express
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять