@H_404_0@实际上,配置applicationcontext要把其中的东西理解透彻。要注意的地方也有很多。你比如说不同的数据库连接配置不一样。show_sql语句也与hibernate的配置不一样。
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
class="org.springframework.orm.hibernate3.LocalSessionfactorybean">
org.hibernate.dialect.MysqLInnoDBDialect
true
true
org/model/Dlb.hbm.xml
org/model/Xsb.hbm.xml
org/model/Kcb.hbm.xml
org/model/Zyb.hbm.xml
org/model/Cjb.hbm.xml
PROPAGATION_required
PROPAGATION_required
dlService
kcService
cjService
zyService
xsService
transactionInterceptor
总结
如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您喜欢交流学习经验,点击链接加入交流1群:1065694478(已满)交流2群:163560250