自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 487

原创 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 693

原创 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 11221 8

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除