Spring Data JPA - One to One mapping in spring boot | MySQL

preview_player
Показать описание
This video covers One to One relationship in Spring Data JPA. Spring Data JPA uses Hibernate as the ORM framework internally. So if we will understand the One to One mapping's fundamental, We will be able to implement it on Spring Boot using Spring Data JPA and also in Hibernate alone.

This video mainly focus on
1. setting up a spring data jpa project
2. How one to one mapping works in dbms
3. finally how to implement one to one in Spring Boot
4. We will use MySQL database for demo

Timestamp
-------------------
00:00:00 - ORM Relationships
00:02:07 - Spring Boot + Data JPA + MySQL Project Setup
00:03:36 - Setting Up Entity
00:08:51 - Setting Up JPA Repository
00:15:03 - Spring Data JPA in action
00:31:27 - One to One Mapping Foundation : Presentation (DBMS)
00:39:11 - One to One Mapping - foreign Key Thumb rule
00:47:10 - Setting up One to One Mapping in Spring Data JPA
00:48:05 - @JoinColumn & @OneToOne
00:58:27 - updating foreign Key column programatically
01:06:01 - Loading inverse end data from Owner reference
01:11:36 - Eager Loading Vs Loading loading
01:13:12 - OneToOne fetch type - FetchType.Lazy

#springboot #springdatajpa #jpa #hibernate #onetoone

For more free/paid courses visit

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers

Watch my new Hello spring boot series

Watch Spring boot Hot topics

Java Interview / Question and Answer series

Explain spring Bean Lifecycle

spring core

spring mvc

spring mvc intermediate

Spring JDBC

spring live project

SPRING SECURITY COURSE[NEW]

For more courses visit

Any time you are getting stuck with issues, Feel free to ask for support.

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"

you can ask for support in my website forum

Follow me on Insta
Рекомендации по теме
Комментарии
Автор

Thank you so much Abhilash
I was eagerly waiting for this mapping series
Finally web series is launched 🎉🎉🎉
Thank you again❤❤

sureshjee
Автор

You have put efforts in this video. Keep it up!

sadhamhussain
Автор

Great session sir, you deserves millions of subscribers.

Hari
Автор

Recently i gave interview for backend developer as a fresher there interviewer asked more about spring data JPA but I couldn't answer them all but now i have a confidence that i will answer all the questions based on this concept
Also make a videos based on jsonbackreference and paging concept

ShamanthAchar-uf
Автор

Sir can you please arrange your spring boot lectures in a sequence so that we can understand what we have to learn after each lecture ...

shaadbp_yt
Автор

Very good video, very good indeed, explains things well and in detail. Just one thing, the "parent" of the relationship between the entities does not necessarily have to be the one that carries the foreign key, it can also be the other one without any problems, you will define this by adjusting it via OnDelete and OnUpdate. Example: User and Photo, User is the "parent" of Photo and even so it is common and even ideal in this case to have Photo "load" the "user_id" and not the other way around, which would be the User "loading" the "photo_id".

GabrielLogan
Автор

I am a foreigner, how do I join your course like this? Can you group it into a playlist and then register it through YouTube Membership? plssss

LuffiEnglish
Автор

Please continue other omrs also in your upcoming series brother love from Tamilnadu 😄

Mr.Anonymous_-mcwb
Автор

Hi, when are you uploading parallel stream video?
Please upload it.

lokesh.
Автор

Abhilash please do videos on remaining mappings like onetomany, manytoone and manytomany it will be helpful

vinodkumaruttera
Автор

Your all sessions regards java spring boot are awesome thanks for such awesome content. I have some requests if possible can you create some detailed sessions regarding quartz api, Itext latest api and Apache api and file data upload from excel file and csv files i know but always confusing it’s a humble request.

Wheretearfalls
Автор

Hi Sir,
When we get part-2 of one to one mapping

parmodprajapati
Автор

can you make one to many in one entity?

Mahmudulhasan-tshm
Автор

I know jpa relationship 60% now i know 100% can you please make video about JPQL?

AnishKumar-cbtn
visit shbcf.ru