I have a class HardwareConfiguration which contains a composite primary key. I have done that using JPA Annotations. Here is the code:
Here is the class for composite primary key:
Now I want to use this composite primary key as a foreign key in another class. How can I do that using annotations. here is the class which is using this composite key as foreign key: