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: []
運行結(jié)果里面有添加明明外鍵的記錄啊alter table employee add index FK4722E6AE57F7CD6C (dno), add constraint FK4722E6AE57F7CD6C foreign key (dno) references department (did)
2017-01-01
看到有些評論,真是為程序員中的有那樣的人感到羞恥,老師辛辛苦苦給你錄制好視頻,你覺得講的不好,你可以選擇不看呀,或者你評論里指出來也就行了,何必還要罵人?他欠你的?他收你一分錢了?
2016-12-28
做完 打卡
https://git.oschina.net/myNameSuMan/ssh_employee
https://git.oschina.net/myNameSuMan/ssh_employee
2016-12-26
對于List<Employee> list = this.getHibernateTemplate().find(hql, employee.getUserName(),employee.getPassword());的find方法報錯,是因為List的包導(dǎo)錯了,List應(yīng)該是java.util.List下的
2016-12-25