springboot整合多數據源和使用(jta+atomikos)解決傳統分佈式事務!!!

本文基於 包路徑 區分多數據源,當然還有 註解方式 實現多數據源,本文不作敘述! 配置文件建立多個sql源 # Mysql 1 mysql.datasource.test1.url = jdbc:mysql://localhost:3306/test01?useUnicode=true&characterEncoding=utf-8 mysql.datasource.test1.username
相關文章
相關標籤/搜索