I have issues with mapping one-to-Many foreign key to a composite primary key. I have already tried many solutions, including this post @OneToMany and composite primary keys