To tell Hibernate who is the owner we use @OneToMany( mappedBy = "townEntity"). And this means in the Student table it will be created ...
確定! 回上一頁