<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>多数据源 - 标签 | 飞污熊小站</title><link>https://xiongneng.me/tags/%E5%A4%9A%E6%95%B0%E6%8D%AE%E6%BA%90/</link><description>飞污熊小站</description><generator>Hugo 0.166.0 &amp; FixIt v0.4.6-20260512073637-464c4659</generator><language>zh-CN</language><managingEditor>yidao620@163.com (XiongNeng)</managingEditor><webMaster>yidao620@163.com (XiongNeng)</webMaster><copyright>XiongNeng</copyright><lastBuildDate>Fri, 25 Sep 2026 02:16:47 +0000</lastBuildDate><atom:link href="https://xiongneng.me/tags/%E5%A4%9A%E6%95%B0%E6%8D%AE%E6%BA%90/index.xml" rel="self" type="application/rss+xml"/><item><title>SpringBoot4系列05 - 多数据源配置</title><link>https://xiongneng.me/posts/java/springboot/sb4-multisource/</link><pubDate>Mon, 21 Sep 2026 22:00:00 +0800</pubDate><author>yidao620@163.com (XiongNeng)</author><guid>https://xiongneng.me/posts/java/springboot/sb4-multisource/</guid><category domain="https://xiongneng.me/categories/java/">Java</category><description>&lt;p&gt;第二篇那个订单工程，数据源是启动时自动配好的那一个：yml 里写一句 &lt;code&gt;spring.datasource.url&lt;/code&gt;，Boot 就照着它建好 &lt;code&gt;HikariDataSource&lt;/code&gt;、&lt;code&gt;SqlSessionFactory&lt;/code&gt; 和事务管理器，一行配置类都不用写。&lt;/p&gt;</description></item></channel></rss>