Posts by Leonardo Lana • 111 points
1 post
-
1
votes2
answers3140
viewsA: Onetoone JPA 2.2 Unidirectional Mapping
There’s no way to do it. The way you mapped the class, it would be correct if the side that carried the key was Bodypart, which is not the case. To be able to do the bidirectional relationship, you…