Spring profile 切换开发、测试、模拟、生成环境

1、在resource目录下建立每种环境对应的配置文件 开发库      dbconfig-development.properties 测试库      dbconfig-test.properties 模拟库      dbconfig-simulation.properties 正式库      dbconfig-production.properties 2、在-mybatis.xml 中
相关文章
相关标签/搜索