Spring Boot | JPA / Hibernate Composite Primary Key Example | JavaTechie

preview_player
Показать описание
This tutorial will guide you how to map a composite primary key in Spring Boot application using spring data JPA

#javatechie #SpringBoot #SpringDataJPA #MySQL

GitHub:

Blogs:

Facebook:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

You are the only one great teacher on YouTube who gives proper explanation with example thanks

anilmaurya
Автор

One in very few channels on YouTube who provide good industry level knowledge in technology after learning from here one can easily work in industry level projects

anuragarora
Автор

Super nice ❤. Short and crispy. No too much talking but on the point.

deeplife
Автор

Excellent Sir I have learn lots concept your video and also implement my project. Thank You Sir

TalhaAnsari-yi
Автор

Thanks, Java Techie.
got a clear picture in a short time.

prajapati-parmod
Автор

Thank you !! It's solve may problem in fews days. I am using @IdClass, before I used @EmbeddedId and it make me headaches.

Great jobs Brother !!

mountinrose
Автор

Thank you. nice. could you please make a video on one to one, many to one, many to many, and all CASCADE types with examples.

deepakmarneni
Автор

Thanks Bro. You ate awesome..keep it up..God Bless You..😊

raghuvardhansaripalli
Автор

Nice. It will be helpful if you create another video which explains Composite key with one to many relationship between parent and child tables.

nsphaniraj
Автор

Very explained !! But what I have observed is even though I have updated primary key from one column to composite key with 2 columns in DB it is working fine in spring boot application without changing entity class. Entity class is still using old PK as @Id.

vaishnavinaik
Автор

sir i actually do not understand the need of composite key. Cant it get solved with table normalization. Where is the real usecase still confuse

luckytheracer
Автор

You gotta be really careful with Lombok there. @Data already includes @EqualsAndHashCode. Hence using @Data on Employee entity will lead to inclusion of all the Employee fields in its equals and hashcode methods, which I don't quite think will be correct.🙄

prajyotlawande
Автор

is it possible to get findby one pair, nd delete and update operation possible?

subhashreesahoo
Автор

Thank You.. Do you have any video on shared primary key for springboot jpa?

varshapardeshi
Автор

Much needed tutorial since old hibernate wasn't able to support composite key
Now it supports.
Hi sir need to store spatial and JSON data from hibernate.
Can you please make a tutorial.
And cucumber tutorial with spring Boot.

shaileshsingh
Автор

Hai bro great explanation can you also explain why we need to override the equals nd hashcode method of compositeId class ?

srikanthchowdary
Автор

wht if i hava 2 tabled emp and user, and composite empid+userid

akshaydubey..a
Автор

Is it possible for auto entity generation based on sql schema instead of manual creation?? Like Asp.net Entity Framework?

vrijilk
Автор

can you please make video on how to use Employee and Department as @OnetoMany relationship with composite key that will help us more.

bollywoodssongs
Автор

ankur bhaiya ke ads still annoy the same.

abhishekgupta
visit shbcf.ru