ssh整合时,如果使用getcurrentsession获取session需要在spring的配置文件中配置hibernate.current_session_context_class,h3可以使用thread作为值,但是h4必须使用org.springframework.orm.hibernate4.SpringSessionContext
h4不能使用thread
ssh整合时,如果使用getcurrentsession获取session需要在spring的配置文件中配置hibernate.current_session_context_class,h3可以使用thread作为值,但是h4必须使用org.springframework.orm.hibernate4.SpringSessionContext
h4不能使用thread