@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

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐