摘要: spring & hibernate整合时候 ,并且使用hibernate.cfg.xml文件时回报这个错误, 解决办法,在hibernate.cfg.xml中加入 <property name="connection.provider_class">org.hibernate.connection 阅读全文
posted @ 2018-03-31 08:43 多米之诺 阅读(806) 评论(0) 推荐(0) 编辑
摘要: Spring & Hibernate 整合异常记录: org.hibernate.HibernateException: getFlushMode is not valid without active transaction 原因 <prop key="hibernate.current_sess 阅读全文
posted @ 2018-03-31 08:40 多米之诺 阅读(91) 评论(0) 推荐(0) 编辑