JPA Composite Primary and Foreign keys that only share 1 field I have a problem representing this scenario in my code with JPA annotations.