2008-01-03
关于Hibernate抛出LazyInitializationException
关键字: hibernate3
LazyInitializationException: could not initialize proxy - the owning Session was closed
在网上搜了一下,处理方法是lazy=false;
这个处理方法不能让人满意,不知道各位有没有更加理想的处理方法
在网上搜了一下,处理方法是lazy=false;
这个处理方法不能让人满意,不知道各位有没有更加理想的处理方法
评论
地方疙瘩人
2008-01-08
感谢两位大侠了,
除了org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
另外问一下常常看到的这两个过滤器是干什么用的
com.opensymphony.module.sitemesh.filter.PageFilter
org.apache.struts2.dispatcher.ActionContextCleanUp
谢谢
除了org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
另外问一下常常看到的这两个过滤器是干什么用的
com.opensymphony.module.sitemesh.filter.PageFilter
org.apache.struts2.dispatcher.ActionContextCleanUp
谢谢
anxin587
2008-01-04
Hibernate.initialize(),
DigitalSonic
2008-01-04
用Spring的OpenSessionInViewFilter或者拦截器,可以多搜搜,这似乎是个老问题了
发表评论
提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则
- 浏览: 7790 次
- 性别:

- 来自: 南京

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
ZTE IM OK
求8.1版本
-- by kan7 -
神仙表
啊。。。要拜很多位啊~~
-- by lordhong -
关于Hibernate抛出LazyIn ...
感谢两位大侠了, 除了org.springframework.orm.hiber ...
-- by 地方疙瘩人 -
关于Hibernate抛出LazyIn ...
Hibernate.initialize(),
-- by anxin587 -
关于Hibernate抛出LazyIn ...
用Spring的OpenSessionInViewFilter或者拦截器,可以多 ...
-- by DigitalSonic






评论排行榜