Тёмный

Spring Data JPA Entity mappings | One-to-One | One-to-Many | Many-to-One | Many-to-Many mappings 

Techno Town Techie
Подписаться 11 тыс.
Просмотров 108 тыс.
50% 1

You will learn Spring Data JPA Entity map unidirectional and bidirectional association mappings.
Unidirectional One-to-One Association
Bidirectional One-to-One Association
Unidirectional One-to-Many Association
Unidirectional Many-to-One Association
Bidirectional Many-to-One Association
Unidirectional Many-to-Many Association
Bidirectional Many-to-Many Association
GitHub URL: github.com/shameed1910/spring...
My Top Playlists:
Spring Boot with Angular : • Spring Boot + Angular
Spring Boot with Docker & Docker Compose : • Spring Boot Docker & D...
Spring Boot with Kubernetes : • Spring Boot Docker Kub...
Spring Boot with AWS : • Spring Boot + AWS
Spring Boot with Azure : • Spring Boot Azure
Spring Data with Redis : • Spring Data with Redis
Spring Boot with Apache Kafka : • Apache kafka
Spring Boot with Resilience4J : • SpringBoot Resilience4j

Наука

Опубликовано:

 

1 янв 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@iuriirudov
@iuriirudov 2 года назад
Thank you for this video and explanation of the mappings. It is by far the best for me to understand with code example. Quick and easy, not boring at all, right to the point.
@repakanagesh7615
@repakanagesh7615 3 года назад
Great! thanks for covering all in single video
@antorodrigo2084
@antorodrigo2084 3 года назад
Really useful to understand the entity annotations. Thanks!
@simondif1470
@simondif1470 3 года назад
Regarding many-to-many, normally you would like to reuse the item rows when several customers share a same item. Thus the cascade type should not be ALL. Otherwise when you remove a customer, all its items will be removed as well, which makes sense in the case of one-to-many but not many-to-many (and many-to-one).
@atiqurrahman7260
@atiqurrahman7260 3 года назад
finally some decent explanation. Thanks
@Trazynn
@Trazynn 3 года назад
Don't worry man. Subscribed. Keep going. There's very little about entity mappings on RU-vid.
@himanshubhusanrath212
@himanshubhusanrath212 10 месяцев назад
Thank you so much for this video. The concepts are explained in a very detailed manner. This helped me a lot. May God bless you !
@magadiflo-dev
@magadiflo-dev 2 года назад
Excellent. Thanks for sharing your knowledge. Greetings from Perú.
@gulbalasalamov1367
@gulbalasalamov1367 2 года назад
Many thanks! All type of relations worked for me
@christopherami8142
@christopherami8142 3 года назад
Thanks mate ! i need this video
@rahuldeulgaonkar
@rahuldeulgaonkar 3 года назад
Thank you. Very nice explanation.
@raheemsk3552
@raheemsk3552 3 года назад
Nice explanation bro.... thank you
@moggarajesh5240
@moggarajesh5240 3 года назад
Nice explanation...and thank you so much
@patrykruryk3532
@patrykruryk3532 2 года назад
Good job man!
@priyankjoshi3018
@priyankjoshi3018 3 года назад
Nice and very well explained.
@bisamallaajaykumar4255
@bisamallaajaykumar4255 Год назад
Thanks a lot very clear :)
@nileshshinde6718
@nileshshinde6718 2 года назад
Great explanation... Thank you
@abhilashbhise2743
@abhilashbhise2743 3 года назад
Thank You So Much
@chetanbhandari3033
@chetanbhandari3033 3 года назад
Thanks nice explanations
@manjunathmaruthi233
@manjunathmaruthi233 2 года назад
Hi, thanks for the video, would you mind explaining when to go with unidirectional, bidirectional & Join table
@technotowntechie9732
@technotowntechie9732 2 года назад
Unidirectional Relationships:- 1. Unidirectional is a relation where one side does not know about the relation. 2. In a unidirectional relationship, only one entity has a relationship field or property that refers to the other. For example, Line Item would have a relationship field that identifies Product, but Product would not have a relationship field or property for Line Item. In other words, Line Item knows about Product, but Product doesn’t know which Line Item instances refer to it. Bidirectional Relationships:- 1. Bidirectional relationship provides navigational access in both directions, so that you can access the other side without explicit queries. 2. In a bidirectional relationship, each entity has a relationship field or property that refers to the other entity. Through the relationship field or property, an entity class’s code can access its related object. If an entity has a related field, the entity is said to “know” about its related object. For example, if Order knows what Line Item instances it has and if Line Item knows what Order it belongs to, they have a bidirectional relationship.
@RN-jo8zt
@RN-jo8zt Год назад
@@technotowntechie9732 can you please explain littel bit more about point1. just confused about --> other side without explicit queries.
@younesszgr3162
@younesszgr3162 6 месяцев назад
bro , you rock !
@officialmiracleofdoll
@officialmiracleofdoll 2 года назад
How to update foreign key with new primary key ??? My query is "update Card o Set o.customer.userName=:newuserName where o.customer.userName=:userName";
@piumasan1983
@piumasan1983 2 года назад
Great video! One question: why do you change from List to Set?
@pounkumarj1916
@pounkumarj1916 Год назад
avoid to duplicate data 's
@dllm3tommy741
@dllm3tommy741 Год назад
Thanks for the video
@shivanshutyagi83
@shivanshutyagi83 Год назад
Helpful
@ravikumarmn2564
@ravikumarmn2564 4 месяца назад
2 schemes created in myself?
@pounkumarj1916
@pounkumarj1916 Год назад
clear cut explanation,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,...............................................
@achyutgawade7948
@achyutgawade7948 3 года назад
Great explanation! But the video's sound is very poor, barely able to hear the voice on the laptop.
@technotowntechie9732
@technotowntechie9732 3 года назад
Sorry about that Achyut.
@arunkumar-ci8nb
@arunkumar-ci8nb 2 года назад
Yes vidio content is great ..but please improve the sounding....cheers✌
@pasupulaphaneesh4049
@pasupulaphaneesh4049 2 года назад
Explanation is too fast. All the relationships are explained in one video in short time and couldn't able to understand. Appreciate if you can do one each relational mapping with example and showing DB changes along with the code.
@singarajusreedhar
@singarajusreedhar Месяц назад
for aan example of bidirectional one t one when the get all is called on referencing entity it goes in infinte loop, not sure you face same issue
@SuperSenthil8
@SuperSenthil8 2 года назад
Seems like running fastly to cover the topics, if you do in slow way it will be easily understandable to all
@anindyapaul2239
@anindyapaul2239 3 года назад
upgrade ur micrphne.... thats y indian utubers r nt gettng any lights...
@technotowntechie9732
@technotowntechie9732 3 года назад
Sure, Thank You
@thejas6922
@thejas6922 5 дней назад
boooring explanatioon
@technotowntechie9732
@technotowntechie9732 5 дней назад
Thanks 😊
@anonboy863
@anonboy863 3 года назад
Very boring
@technotowntechie9732
@technotowntechie9732 3 года назад
Thank You
@arikarans1302
@arikarans1302 2 месяца назад
Recommended
Далее
#12 Hibernate Tutorial | Mapping Relations Theory
13:14
Hibernate or JPA: Which One is Right for You?
6:14
Просмотров 34 тыс.
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 676 тыс.
Копия iPhone с WildBerries
1:00
Просмотров 1,8 млн