table found: ssh_employee.employee
16:00:15,452 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [birthday, eid, ename, joindate, password, dno, sex, eno, username]
16:00:15,452 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: []
16:00:15,452 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [birthday, eid, ename, joindate, password, dno, sex, eno, username]
16:00:15,452 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: []
运行结果里面有添加明明外键的记录啊alter table employee add index FK4722E6AE57F7CD6C (dno), add constraint FK4722E6AE57F7CD6C foreign key (dno) references department (did)
2017-01-01
看到有些评论,真是为程序员中的有那样的人感到羞耻,老师辛辛苦苦给你录制好视频,你觉得讲的不好,你可以选择不看呀,或者你评论里指出来也就行了,何必还要骂人?他欠你的?他收你一分钱了?
2016-12-28
对于List<Employee> list = this.getHibernateTemplate().find(hql, employee.getUserName(),employee.getPassword());的find方法报错,是因为List的包导错了,List应该是java.util.List下的
2016-12-25