http://blog.csdn.net/muyeju/article/details/48224277
http://blog.csdn.net/huangcongjie/article/details/7573088
https://www.cnblogs.com/a1280055207/archive/2013/07/23/3209271.html
2,原因:项目中所有Dao实现类都继承了hibernateDaoSuppoert接口,如果Dao或者配置文件中没有'sessionFactory'
或者'hibernate Template'就会报错
解决方式.
换言之,
与
是等价的。