spring boot 連接多個數據源

在springboot中有需要連接多個數據源的情況。 首先配置文件application.properties中添加兩個數據源連接字符串 mybatis.type-aliases-package=com.murphy.boot.model spring.datasource.source1.driver-class-name = oracle.jdbc.driver.OracleDriver
相關文章
相關標籤/搜索