Entity Mapping | @OneToOne, @OneToMany, @JoinColumn| Spring Data JPA | Spring Boot | Dev2Prod Coding

Entity Mapping | @OneToOne, @OneToMany, @JoinColumn| Spring Data JPA | Spring Boot | Dev2Prod Coding

Dev2Prod Coding

2 года назад

182,563 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ravi Suthar
Ravi Suthar - 22.09.2023 13:18

Great explanation 👌🏻😇

Ответить
Wellington Jr.
Wellington Jr. - 13.08.2023 16:11

nice video!! +1 sub, thanks

Ответить
The Last Chance
The Last Chance - 04.08.2023 19:33

if i duplicate my request in postman, so duplicate my entities, that not shoul be happen, because then i have duplicate employees and addresses, how do yo stop this behavior, you put some logical in your service?(sorry for my english)

Ответить
Sai Kumar Bandigi
Sai Kumar Bandigi - 27.07.2023 10:27

bro dhanyawad

Ответить
anuj satish
anuj satish - 20.07.2023 21:57

Bruh you did not even explain what is onetoone or anything.. worst explanation

Ответить
VENKATESH EJJIGIRI - 413
VENKATESH EJJIGIRI - 413 - 28.06.2023 10:52

fk_add_id is not reflecting in employee table. and no data in adreess table. pls help me

Ответить
Kirin Dev
Kirin Dev - 21.06.2023 22:43

thank you

Ответить
Vinay mathapati
Vinay mathapati - 26.05.2023 06:39

Where is properties file

Ответить
zuber diwan
zuber diwan - 24.04.2023 08:46

Very Good Explained..Thank You.....

Ответить
Jay Michalek
Jay Michalek - 11.04.2023 07:58

Awesome explanation. I hope you can make more videos.

Ответить
Neeraja Yarasani
Neeraja Yarasani - 04.04.2023 13:36

short and clear. Thank you

Ответить
Toby Hamilton
Toby Hamilton - 29.03.2023 16:04

You didn't even show how to right at the get mapping, so you just showed how to do the annotations, how is someone meant to known how to make the get request!!!

Ответить
Zi Sang
Zi Sang - 17.03.2023 17:15

So good explained! Just one question, first OneToOne Example, in Entity Employee_Detail you add Address address, which created automatically a FK fk_add_id, should a index be created to that fk_add_id, if data volumn is very big? Thank you!

Ответить
Himanshu Verma
Himanshu Verma - 01.03.2023 16:23

very helpful

Ответить
Felix Orinda
Felix Orinda - 20.02.2023 04:24

Perfect explanation😊

Ответить
Wanted Lepota
Wanted Lepota - 15.01.2023 13:47

I like the fact that you have already created the classes(entity, controllers) before you record the video, which makes the video simple and short

Ответить
Lru Cache
Lru Cache - 12.01.2023 22:46

I might sound stupid but I found it interesting that f.k @OneToOne private Address address, Employee class has a attribute of address which data type is Address, and it actually stores int value which is addressID? and by setting cascade.all, when we send request payload for saving emps, it will affect Address class and save address info on Address table. And the fk column in emp table will show just int value(AddrID). I learned a lot. and I hope I understand correctly. Thanks!

Ответить