Spring boot course data jpa

Spring boot course data jpa

Ahmet Ergun

2 года назад

44,240 Просмотров

Implement @onetoone, @manytoone and @manytomany mapping relationship into spring data jpa while creating a rest api.

The link to the solution code:
https://github.com/ErgunAhmet/DataJpaYt.git

The concepts you will learn:
- spring boot
- spring data jpa
- spring boot rest api implementation
- spring data jpa OneToOne relationship mapping
- spring data jpa OneToMany relationship mapping
- spring data jpa ManyToMany relationship mapping
- spring data jpa unidirectional mapping
- spring data jpa bidirectional mapping
- different cascading types
- different fetch types
- h2 database configuration
- testing with swagger

00:00 intro and basic theory
02:17 initialization of spring project
03:04 enitites and mapping the relationships
17:47 the request- and response dto with mappers
41:42 the repository layer
44:59 the service layer
2:11:56 the controller layer
3:07:51 db config and testing with swagger

Тэги:

#spring_boot #spring_data_jpa #spring_onetoone_onetomany_manytomany_mapping #spring_boot_rest_api #spring_data_jpa_unidirectional_bidirectional #spring_database_mapping #spring_relationship_mapping
Ссылки и html тэги не поддерживаются


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

@AhmetErgun
@AhmetErgun - 14.02.2022 17:03

In the last year i have switches to .net core and c# environment due to my work. This is why i didnt upload any more courses, if you expect more spring/java related content then you don't have to subscribe. If you are interested in .net world make sure to subscribe because courses are coming!!!!

Ответить
@abhinavjain8613
@abhinavjain8613 - 07.11.2023 20:48

Thankyou Ahmet for making this video ❤❤❤❤

Ответить
@kadirgurturk6869
@kadirgurturk6869 - 02.09.2023 01:04

why we use mappedBy = "categories" when try connect books to author entity?

Ответить
@kadirgurturk6869
@kadirgurturk6869 - 31.08.2023 23:41

Allah razı olsun başkan büyüksün

Ответить
@alexbyabato7437
@alexbyabato7437 - 30.08.2023 19:05

i got what i have been looking for big up

Ответить
@ucotuan8754
@ucotuan8754 - 21.08.2023 07:14

Your work is excellent. But I have a question. When you retrieve data, do you meet the problem that there are many repeated data on one to many or many to many relationships. I'm doing my project and meet that product A have category 1, product B have category 1 and when I retrieve product, it returns product a - category 1 [product A B], product B -category 1 [product A B]. Can you help me to this issue.

Ответить
@hkkabir2024
@hkkabir2024 - 06.06.2023 00:01

Thanks 100 times

Ответить
@rajpatel3255
@rajpatel3255 - 02.05.2023 08:14

Thank you for sharing all the relationship using dto structure and one thing is that you include very long way of converting object to Dto . Apart from that you have to use MODELMAPPER CLASS so this will reduce the code of converting regular object to Dto object.

Ответить
@maryamalsulaiman3321
@maryamalsulaiman3321 - 25.04.2023 22:52

That's what I was looking for 🤩finally found a video with each step and line written from scratch 😇Thank you man for your effort 🙏

Ответить
@Belhadjmahdiaziz
@Belhadjmahdiaziz - 11.03.2023 21:54

nice job,thanks.
❤❤❤

Ответить
@dennismasinde3030
@dennismasinde3030 - 21.01.2023 12:45

Hi Ahmet I love what you have done here. Great content. Please do a video for spring security.

Ответить
@janmejaysingh7402
@janmejaysingh7402 - 10.08.2022 16:07

The best Video on Internet combining Spring data JPA, Rest API, error handling, design and coding patterns. Recommending to everyobody.

Ответить
@praveenkatiyar6733
@praveenkatiyar6733 - 04.08.2022 00:38

Thank you so much brother

Ответить
@nilnadirler4419
@nilnadirler4419 - 23.07.2022 18:39

Hi, Hope you are familiar with Angular. I would like to see combine this project with Angular for js

Ответить
@doubleyourmoney3763
@doubleyourmoney3763 - 20.06.2022 17:16

swagger didn't work for me. please help

Ответить
@NexiFear
@NexiFear - 28.05.2022 18:21

Hocam iyi güzelde bunların birde türkçesini çekseydiniz .Bizde tam anlamıyla faydalansaydık

Ответить
@sherlockholmes1605
@sherlockholmes1605 - 16.05.2022 20:39

Great Video. Learnt a lot. Thanks for the effort!

Ответить
@KG-df8sd
@KG-df8sd - 15.04.2022 03:56

Hello Ahmed. Thank you for thid very informative lesson. I hope watch good video soon!!))))

Ответить
@RajinderYadav
@RajinderYadav - 06.04.2022 20:55

Exactly what I was looking for, thank you for making this!

Ответить
@MohammadAsif-wl6wv
@MohammadAsif-wl6wv - 24.03.2022 18:57

well explained, waiting for other videos....

Ответить
@kvnagendra5354
@kvnagendra5354 - 19.03.2022 21:44

Very very helpful video...brother..
Ive searched almost all videos on mapping but i didn't satisfied but urs one is a full meal for me...
Make a video for login nd logout bro

Ответить
@karma4222
@karma4222 - 17.03.2022 20:10

Great well explained

Ответить
@rohitkumarsinha876
@rohitkumarsinha876 - 10.03.2022 17:42

Good video bro 🙂

Ответить
@amitthakur-yo6xw
@amitthakur-yo6xw - 06.03.2022 09:05

Please make more such content... Very informative

Ответить
@javadmahdioun4283
@javadmahdioun4283 - 26.02.2022 00:26

Thanks for sharing your knowledge 👍🌾

Ответить
@mmdv5062
@mmdv5062 - 01.02.2022 13:17

Very informative and well explained. Keep up the good work!

Ответить
@Mrtkm3D
@Mrtkm3D - 30.01.2022 13:03

Great Video!

Ответить
@mohamedtomori4
@mohamedtomori4 - 30.01.2022 04:11

Thank you for this tutorial

Ответить