摘要:
在开发中,碰到到了Could not obtain transaction-synchronized Session for current thread异常,因此特意记录下。一、问题的产生 在使用Hibernate时碰到了如下异常: 检查了代码发现是代码中用sessionFactory.getCurrentSession()这样获取session,导致... 阅读全文
posted @ 2017-11-03 14:51
zeng1994
阅读(56518)
评论(1)
推荐(7)

浙公网安备 33010602011771号