Petar, fwiw I noticed your model attempts to define the FKs twice. Once each via JoinTable#foreignKey / JoinTable#inverseForeignKey and then again via JoinColumn#foreignKey reference on the JoinTable#joinColumns /JoinTable#inverseJoinColumns. To be honest I am not really sure the right thing to do there conceptually. At the moment we only pick up the JoinTable#foreignKey / JoinTable#inverseForeignKey definitions in conjunction with ManyToMany
|