OneToMany, OneToOne and ManyToMany in JPA. ... With @JoinColumn(name = "user_id") we tell JPA what is the name of the column that is FK.
確定! 回上一頁