作业帮 > 综合 > 作业

ssh2框架整合 none

来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/08/13 05:54:31
ssh2框架整合 none
none
org.springframework.orm.hibernate4.SpringSessionContext这两个分别是什么意思?
ssh2框架整合 none
<prop key="hibernate.current_session_context_class">org.springframework.orm.hibernate4.SpringSessionContext</prop> <!--是spring整合hibernate用的语句-->

<prop key="javax.persistence.validation.mode">none</prop> <!--是做验证的-->
再问: 还是不太清楚,能再具体点吗?谢谢!!!
再答: org.springframework.orm.hibernate4.SpringSessionContext 意思就是没有这句,你整合不了hibernate,这句话的意思就是吧hibernate整合到spring中,spring来集中管理hibernate中的session和sessionfactory