Good morning!
I have a question regarding the mapping of composite keys.
The situation is as follows:
I have a class whose primary key is made up of two other classes, but I have a third class that the third key is a compound of the other class that the key is already composed.
The question would be, using embeddable will I reference the class itself or its key?.
Exemplifying for ease of understanding;
class 1 (compound key) Apolice - > (ApolicePK embeddable)
class 2 (compound key)
Archive - > (it is embeddable but I do not know if it references Apolice or ApolicePK)
I'm waiting for some help
Sincerely