0
点赞
收藏
分享

微信扫一扫

SpringMVC3和hibernate3的整合


SpringMVC3和hibernate3的整合
文档: SpringMVC3AndHibernate3.rar
源码:
mySpringMVCHibernate.part1.rar
mySpringMVCHibernate.part2.rar


[b][color=red]
在applicationContext.xml里面,有过多的配置,其实事物,DAO,Services等都应该用annotation去做,所以,更简洁的配置文件可以参考这里]:[/color][/b]
[url]http://xlaohe1.iteye.com/blog/1139028[/url]



[b][color=red]最新代码,对Hibernate,applicationContext.xml简化了配置,使用了注解,增加service层。:[/color][/b]


[color=red]这里的事务有问题,事务解决请看[/color]: [url]http://panyongzheng.iteye.com/admin/blogs/1418400[/url]

举报

相关推荐

0 条评论