原因:你在hibernate的xml文件中没有配置本地事物。请在xml文件中加上
<property name="hibernate.current_session_context_class">thread</property>
即可
http://blog.csdn.net/baple/article/details/39957499
这篇文章有详尽解释。
原因:你在hibernate的xml文件中没有配置本地事物。请在xml文件中加上
<property name="hibernate.current_session_context_class">thread</property>
即可
http://blog.csdn.net/baple/article/details/39957499
这篇文章有详尽解释。