spring boot集成mybatis--xml配置

spring boot集成mybatis–xml配置 1.配置application.yml連接數據庫,mapper-locations 指明mapper.xml映射文件的包,type-aliases-package掃描的包名 spring: datasource: driver-class-name: com.mysql.jdbc.Driver password: 11560
相關文章
相關標籤/搜索