ssh框架抛异常org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for curr
ssh框架抛异常org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread。原因:事务不同步解决:在类上加注解@Transactional如图:...
·
ssh框架抛异常org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread。
原因:事务不同步
解决:在类上加注解@Transactional
如图:
更多推荐
所有评论(0)