第29行: 在getter method 前加入 @OneToMany,mappedBy 指出是要對應到那一個類別; cascade 設定兩者的關聯性,詳細會另篇說明,這裡設定為ALL,就是 ...
確定! 回上一頁