We can easily use the mappedBy attribute of @OneToMany annotation to do so. So, let's define our Employee entity: @Entity public class Employee ...
確定! 回上一頁