Build REST API with Spring Boot and JPA [2021] - 42 One to Many Mapping in Data JPA

Build REST API with Spring Boot and JPA [2021] - 42 One to Many Mapping in Data JPA

B2 Tech

3 года назад

11,212 Просмотров

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


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

Haythem Dridi
Haythem Dridi - 16.10.2023 15:48

very confusing , this is not one to many

Ответить
Hemanth E S
Hemanth E S - 11.10.2023 12:43

very bad teching

Ответить
Ibrahim Yassen
Ibrahim Yassen - 21.09.2023 17:39

Amazing ❤ Thank you!

Ответить
Siddharth Srivastava
Siddharth Srivastava - 02.07.2023 00:33

How can a department be one to many for employees. Totally confusing. You are doing something else and saying something else brother.

Ответить
Toby Hamilton
Toby Hamilton - 29.03.2023 15:25

This isn't one to many this is many to one, as you used a many to one annotation not a one to many annotation.

Ответить
Alton toni
Alton toni - 18.05.2022 16:28

confusing and not fully explaining

Ответить
vijay kumar
vijay kumar - 06.01.2022 14:51

its not worthy you get a object from employee using foreach
and save. its not good practice

Ответить
Gokul Aher
Gokul Aher - 18.12.2021 20:13

The over all objective is to create customer along with Address, KYC, Accounts, Loans
The database entries should go in to respective table while creating the customer object
and if the customer object is deleted then the database entries should get deleted from the each respective database table thank you!!

Ответить