![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
攻城记
这个作者很懒,什么都没留下…
展开
-
spring3之后各jar包相着依赖关系
转自:http://blog.csdn.net/shenzhen_zsw/article/details/11399373spring.jar是包含有完整发布的单个jar包,spring.jar 中包含除了 spring-mock.jar里所包含的内容外其它所有jar包的内容,因为只有在开发环境下才会用到spring-mock.jar来进行辅助测试,正式应用系统中是用不得这些类的。转载 2016-09-12 11:27:05 · 1074 阅读 · 0 评论 -
a different object with the same identifier value was already associated with th
org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.dodomelon.dao.po.ElecmgProductInout#1435626原创 2016-01-29 13:33:15 · 473 阅读 · 0 评论 -
认真学spring官网,很容易找到spring4的jar包下载位置
原文:http://yanln.iteye.com/blog/2191312?utm_source=open-open无论学习编程语言还是框架,个人认为与其花大量的时间搜资料,不如静心好好学习官网,官网是最好的学习资料(权威、准确的第一手材料)。一、spring的官方网址:http://spring.io/二、看到这个简洁清新的界面,导航很明确,进入projec转载 2016-09-12 14:19:40 · 1720 阅读 · 1 评论 -
一个简单的SpringMVC需要哪些jar包[Spring4.x]
之前做项目搭框架都是把spring-framework-4.2.3.RELEASE下libs文件下的所有jar包都丢进去整理一下一个用springMVC写得helloworld需要依赖哪些包我们配置一个springMVC的时候首先是配置web.xml将请求交给spring的DispatcherServlet处理 代码如下<web-app xmlns:xsi="http转载 2016-09-12 12:08:34 · 5381 阅读 · 0 评论 -
Spring4+Hibernate4事务小记
转载:http://www.cnblogs.com/GarfieldTom/p/3422574.html学习Spring+Hibernate,非常强大的框架,为了追新,就直接从最高版本开始学习了,这要冒很大的风险,因为网上可查到的资料大多是针对旧版本的,比如Spring3,Hibernate3。根据我的测试,记录如下:1.Spring4事务必须针对接口,否则报错。(之前可以不针对接转载 2016-09-19 16:52:40 · 312 阅读 · 0 评论 -
<转>openSession和getCurrentSession的比较
在比较openSession和getCurrentSession这两个方法之前,我们先认识一下这两个方法。在进行配置信息管理时,我们一般进行一下简单步骤: Configuration cfg = new Configuration(); // 获得配置信息对象 SessionFactory sf = cfg.configure().buildSessionFactory...原创 2015-09-18 11:33:14 · 108 阅读 · 0 评论