To map both entities correctly, we can use the annotations @JoinColumn and mappedBy. @Entity @Table(name = "student") ...
確定! 回上一頁