Mybatis數據框架整合

在application .yml文件中添加Mybatis配置: mybatis: mapper-locations: classpath:mapper/*.xml //填寫mapper映射路徑 type-aliases-package: com.demo.demo.pojo //填寫實體類路徑 Mybatis-generator 中pom .xml下添加mybatis-generator必要依賴
相關文章
相關標籤/搜索