- 博客(3)
- 收藏
- 关注
原创 HibernateException: Illegal attempt to associate a collection with two open sessions
HibernateException: Illegal attempt to associate a collection with two open sessions 修改sessionFactory.openSession() 为sessionFactory.getCurrentSession()
2014-04-01 15:25:56
521
原创 org.hibernate.SessionException: Session is closed!
使用hibernate4+spring4用 sessionFactory.getCurrentSession(),得到session时时而报 org.hibernate.SessionException: Session is closed!错误。 现得解决方法如下: 对于OpenSessionInViewFilter,需要在web.xml文件中配置。但一定要放在Struts fi
2014-04-01 15:25:31
777
原创 Source not found for QuestionAction$$FastClassByCGLIB$$29ba82ad.invoke(int, Object, Object[]) line:
debug模式调试的时候 一按f6都出现 这种 Source not found for QuestionAction$$FastClassByCGLIB$$29ba82ad.invoke(int, Object, Object[]) line: not available 没有发现这个类 重新编译一遍0k
2014-03-28 13:05:54
11261
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人