spring boot 整合hibernate后,添加拦截器,报Could not obtain transaction-synchronized Session for current thread
spring boot 整合hibernate后,添加拦截器,报Could not obtain transaction-synchronized Session for current thread在一个采用hibernate的spring boot项目中,增加拦截器,在进行sql操作时报异常:Could not obtain transaction-synchronized Session ...
原创
2019-07-22 16:44:05 ·
717 阅读 ·
0 评论