@OneToMany @JoinColumn(name="employee_fk") public List<Phone> phones; ... } @Entity public class Phone { ... } Hibernate will generate phone table with ...
確定! 回上一頁