共 4 篇文章 |
|
阅22017 转75 评0 公众公开 18-02-08 17:19 |
Spring Boot 整合 MyBatis前言。mybatis.typeAliasesPackage:为实体对象所在的包,跟数据库表一一对应mybatis.mapperLocations:mapper文件的位置dao.// MyBatis 支持@MapperScan("zxy.demo.springboot.mybatis.dao")@SpringBootApplicationpublic class MainApplicion { public static void main(String[] args) throws Exception ... 阅75 转1 评0 公众公开 17-11-29 15:11 |