Could not obtain transaction-synchronized Session for current thread
hibernate异常参考网址 https://jingyan.baidu.com/article/ab69b2709715162ca7189f87.htmlweb项目初始化时调用Service层方法查询某些数据库数据保存到缓存中时报错,Could not obtain transaction-synchronized Session for current thread异常的原因是因为使用了...
转载
2018-04-10 14:00:05 ·
203 阅读 ·
0 评论