随笔 - 83  文章 - 0  评论 - 28  阅读 - 28万
  2013年3月12日
摘要: //场景:使用了延迟加载, //所以使用了org.springframework.orm.hibernate3.support.OpenSessionInViewFilter //现在又一个request得到后台A有一个children属性,现在给A对象的children中添加一个child,调用的是action中的save方法(save中保存child). //当添加完成以后,在action中resultType为chain,跳转到list方法,list方法又查询了A对象的信息。这个时候如果不this.getSession().refresh(obj); //... 阅读全文
posted @ 2013-03-12 10:50 cfd406635982 阅读(3164) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示