额,坑爹的用JPA
1. 属性自动生成表,需要将
2.
Hibernate: alter table xxx add constraint FKxxxxn foreign key (lxxxd) references hxxxxxt (id)