2019年8月28日

JPA使用学习

摘要: 1、添加相关jar包: 2、添加配置文件: 3、添加实体类: 4、实现Repository类: 5、controller实现: 6、多表联合查询: 7、参考资料: http://www.ityouknow.com/springboot/2016/02/03/spring-boot-web.html 阅读全文

posted @ 2019-08-28 23:34 小夏coding 阅读(145) 评论(0) 推荐(0) 编辑

MyBatis Plus使用学习

摘要: 1、配置数据库: 2、建立实体类: 3、建立mapper文件: 4、定义service: 5、实现controller: 6、相关配置: (1) Spring Boot配置: 配置@MapperScan注解, (2) Spring MVC配置: 配置MapperScan: 调整sqlSessionF 阅读全文

posted @ 2019-08-28 16:23 小夏coding 阅读(169) 评论(0) 推荐(0) 编辑

导航