首页 > 编程语言 > 详细

基于 Spring + Atomikos 的多数据源配置(含有BaseDao,BaseService)

时间:2017-08-30 11:30:29      阅读:253      评论:0      收藏:0      [点我收藏+]

1.spring配置文件

classpath:/system.properties classpath:/jdbc.properties classpath:/system.properties UTF-8 mysql xph datasource ${mysql_url_xph} ${mysql_user_xph} ${mysql_password_xph} mysql qs datasource ${mysql_url_qs} ${mysql_user_qs} ${mysql_password_qs} classpath*:com/tykj/weatherservice/bean/xphdata/xphRealData.xml classpath*:com/tykj/weatherservice/bean/channel/channel.xml classpath*:com/tykj/weatherservice/bean/deviceinfo/deviceinfo.xml classpath*:com/tykj/weatherservice/bean/webthings/webthings.xml UserTransactionImp1 300 UserTransactionManager1 true

基于 Spring + Atomikos 的多数据源配置(含有BaseDao,BaseService)

原文:http://www.cnblogs.com/ysgcs/p/7452219.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!