Spring boot course data jpa

preview_player
Показать описание
Implement @onetoone, @manytoone and @manytomany mapping relationship into spring data jpa while creating a rest api.

The link to the solution code:

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
Рекомендации по теме
Комментарии
Автор

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!!!!

AhmetErgun
Автор

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

mmdv
Автор

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 🙏

maryamalsulaiman
Автор

Please make more such content... Very informative

amitthakur-yoxw
Автор

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

janmejaysingh
Автор

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

sherlockholmes
Автор

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

dennismasinde
Автор

Thankyou Ahmet for making this video ❤❤❤❤

abhinavjain
Автор

i got what i have been looking for big up

alexbyabato
Автор

well explained, waiting for other videos....

MohammadAsif-wlwv
Автор

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

KG-dfsd
Автор

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

kvnagendra
Автор

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.

rajpatel
Автор

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.

ucotuan
Автор

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

nilnadirler
Автор

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

kadirgurturk
Автор

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

puuserr
Автор

swagger didn't work for me. please help

doubleyourmoney
Автор

Amazing video bro! i have a question for u, why u use @postMapping for delete a city and not use @DeleteMapping in the min 2:34:33 thanks!

camilocastro