Re: JPA @ManyToMany @ForeignKey name not used


You're wrong in the mapping definition. @JoinTable has foreignKey and inverseForeignKey.

Take it up with the people behind JPA why their definition of annotations are unintuitive ... but then you wont find anyone accountable for them, they ran away many years ago.

Join to automatically receive all group messages.