org.hibernate.HibernateException: getFlushMode is not valid without active transaction

Spring & Hibernate 整合异常记录:session

org.hibernate.HibernateException: getFlushMode is not valid without active transactionspa

缘由 <prop key="hibernate.current_session_context_class">thread</prop> 注释该配置便可。hibernate

相关文章
相关标签/搜索