ok only using @ManyToOne() is enough to create foreign keys etc. I thought you need to do @OneToMany() in the related entity as well.
確定! 回上一頁