Spring整合Hibernate事务时要注意:
包扫描中配置:use-default-filters="false",防止重复扫描
hibernate.current_session_context_class配置为:org.springframework.orm.hibernate5.SpringSessionContext
获取Session方式为getCurrentSession();
原文:https://www.cnblogs.com/leoriver/p/12456514.html