SpringMVC4+Hibernate4整合报错:Could not obtain transaction-synchronized Session for current thread

SpringMVC4+Hibernate4整合时获取currentSession时报错:Could not obtain transaction-synchronized Session for current thread

推荐第二种方法(适用于全注解)

猜你喜欢

转载自blog.csdn.net/qq_29477175/article/details/80470721
今日推荐