注意@OneToMany中有个mappedBy参数设置为school,这个值是我们在Student类中的School类型的变量名;cascade参数表示级联操作的类型,它只能是CascadeType ...
確定! 回上一頁