Say, for example, I had two entities: Article and Tag (like in a typical blog). Each article can have many tags, and each tag can be used by many a
Every bidirectional relationship requires an owning side in JPA. In the particular case of ManyToMany:
@JoinTable is specified on the owning side of the relationship.
From the JPA specification:
9.1.26 ManyToMany Annotation
Every many-to-many association has two sides, the owning side and the non-owning, or inverse, side. The join table is specified on the owning side. If the association is bidirectional, either side may be designated as the owning side.