Spring
文章平均质量分 61
iteye_6732
这个作者很懒,什么都没留下…
展开
-
Spring中的OpenSessionInViewFilter
使用Spring提供的Open Session In View而引起Write operations are not allowed in read-only mode (FlushMode.NEVER) 错误解决: 在没有使用Spring提供的Open Session In View情况下,因需要在service(or Dao)层里把session关闭,所以lazy loading...原创 2009-10-20 17:04:02 · 83 阅读 · 0 评论 -
Spring IoC与DI
IoC与DI 首先想说说IoC(Inversion of Control,控制倒转)。这是spring的核心,贯穿始终。所谓IoC,对于spring框架来说,就是由spring来负责控制对象的生命周期和 对象间的关系。这是什么意思呢,举个简单的例子,我们是如何找女朋友的?常见的情况是,我们到处去看哪里有长得漂亮身材又好的mm,然后打听她们的兴趣爱 好、qq号、电话号、ip号、iq号………,想办...原创 2009-08-25 11:56:34 · 67 阅读 · 0 评论 -
Hibernate二级缓存(Ehcache)和Spring 整合使用
参阅: http://gqsunrise.iteye.com/blog/2280068 http://gqsunrise.iteye.com/blog/2280073 http://blog.csdn.net/tonytfjing/article/details/39251507 http://blog.csdn.net/jadyer/article/details/12257865 ...原创 2016-03-02 17:51:13 · 152 阅读 · 0 评论 -
SpringMVC @RequestBody接收Json对象字符串
JavaScript代码: <script type="text/javascript"> $(document).ready(function(){ var saveDataAry=[]; var data1={"userName":"test","address":"gz"}; var dat原创 2016-11-11 13:37:04 · 113 阅读 · 0 评论