Is it possible to set up a ManyToOne association without JPA creating a foreign key in the database?
The tables are owned by another system and are populated asynchr
Add name="none" in javax.persistence.ForeignKey,
name="none"
javax.persistence.ForeignKey
this worked for me.
foreignKey = @javax.persistence.ForeignKey(name="none",value = ConstraintMode.NO_CONSTRAINT)