How to create Composite Primary Keys by @Embeddable annotation in Hibernate using JPA ?

preview_player
Показать описание

***********************************************
Do Watch Video in High Quality ...
***********************************************
Рекомендации по теме
Комментарии
Автор

Your vedios are nice and simple to understand.

shanthipadma
Автор

exactly what I was looking for :) thank you. Lets say if the Address is itself composed of different objects then for ex. lets say ZipCode is a class, then in this case how should composite primary key look like? I have such a scenario for which I was looking for answers but found none. Please assist.

shruti