一OneToOne關系映射JPA使用OneToOne來標注一對一的關系。 ... 一端(Author)使用@OneToMany注釋的mappedBy="author"屬性表明Author是關系被維護端。
確定! 回上一頁