预览加载中,请您耐心等待几秒...
1/5
2/5
3/5
4/5
5/5

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

HYPERLINK"http://blog.csdn.net/huang_hws/article/details/6688812"SpringMVC和Hibernate整合 分类:HYPERLINK"http://blog.csdn.net/huang_hws/article/category/848210"JAVA2011-08-1516:2418775人阅读HYPERLINK"http://blog.csdn.net/huang_hws/article/details/6688812"\l"comments"评论(4)HYPERLINK"javascript:void(0);"\o"收藏"收藏HYPERLINK"http://blog.csdn.net/huang_hws/article/details/6688812"\l"report"\o"举报"举报 HYPERLINK"http://www.csdn.net/tag/hibernate"\t"_blank"hibernateHYPERLINK"http://www.csdn.net/tag/spring"\t"_blank"springHYPERLINK"http://www.csdn.net/tag/encoding"\t"_blank"encodingHYPERLINK"http://www.csdn.net/tag/character"\t"_blank"characterHYPERLINK"http://www.csdn.net/tag/mvc"\t"_blank"mvc hibernate由spring管理,配置文件如下: applicationContext.xml [html]HYPERLINK"http://blog.csdn.net/huang_hws/article/details/6688812"\o"viewplain"viewplainHYPERLINK"http://blog.csdn.net/huang_hws/article/details/6688812"\o"copy"copy <?xmlversion="1.0"encoding="UTF-8"?> <beansxmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <!--配置扫瞄注解service,controller--> <context:annotation-config/> <context:component-scanbase-package="扫瞄的包名"scoped-proxy="targetClass"> <!--<context:exclude-filtertype="annotation"expression="cn.bonoon.controllers.*"/>--> </context:component-scan> <!--配置数据库连接--> <beanid="dataSource"class="org.spri