Spring profile 切換開發、測試、模擬、生成環境

1、在resource目錄下建立每種環境對應的配置文件 開發庫      dbconfig-development.properties 測試庫      dbconfig-test.properties 模擬庫      dbconfig-simulation.properties 正式庫      dbconfig-production.properties 2、在-mybatis.xml 中
相關文章
相關標籤/搜索