I have a following problem that I need to solve. The core issues is that I want to add additional column into JoinTable for ManyToMany relation in JPA. In my case I have fol
I would try to avoid using a List unless you allow duplicates.
List
There is a @OrderColumn annotation that automatically does this. Have you tried it?
@OrderColumn
@Entity public class Topic { @Id private Long id; @Basic private String name; @OneToMany @OrderColumn private Set association; }