SSh整合后出现org.hibernate.HibernateException: No Session found for current thread,解决方法在hibernate配置文件中添加如下属性
<property name="current_session_context_class">thread</property>
SSh整合后出现org.hibernate.HibernateException: No Session found for current thread,解决方法在hibernate配置文件中添加如下属性
<property name="current_session_context_class">thread</property>