这个错误是因为 hibernate.cfg.xml 中配置了
<!-- 设置使用线程 -->
<property name="current_session_context_class">thread</property>
将这个配置语句删掉就好
具体原因还不知道,先mark一下。
这个错误是因为 hibernate.cfg.xml 中配置了
<!-- 设置使用线程 -->
<property name="current_session_context_class">thread</property>
将这个配置语句删掉就好
具体原因还不知道,先mark一下。