摘要: 来自:https://www.jianshu.com/p/3c79125cc5cc 首先,dao接口需要继承JpaRepository与paSpecificationExecutor。JpaSpecificationExecutor 方法列表 findOne(Specification<T> spe 阅读全文
posted @ 2021-07-11 15:27 清语堂 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 建立Entity package com.example.jpademo.Entity; import lombok.Data; import javax.persistence.*; @Entity @Table(name="t_book") @Data public class Book { @ 阅读全文
posted @ 2021-07-11 15:12 清语堂 阅读(175) 评论(0) 推荐(0) 编辑
摘要: JAVA注解 : https://www.awaimai.com/2591.html HashMap : https://blog.csdn.net/qq_40574571/article/details/97612100 JAVA中final关键字的作用:https://www.cnblogs.c 阅读全文
posted @ 2021-07-11 14:47 清语堂 阅读(21) 评论(0) 推荐(0) 编辑
摘要: @Query注解及@Modifying注解: https://www.cnblogs.com/zhaobingqing/p/6864223.html JPA 数据模型定义(数据实体基础注解使用) : https://blog.csdn.net/qq330983778/article/details/ 阅读全文
posted @ 2021-07-11 14:27 清语堂 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 【postman】发送一个API请求: https://www.cnblogs.com/prince365/p/12144748.html 使用@RequestMapping返回中文乱码:https://blog.csdn.net/qq_38412354/article/details/899817 阅读全文
posted @ 2021-07-11 08:53 清语堂 阅读(23) 评论(0) 推荐(0) 编辑
摘要: @GetMapping是 一个组合注解,是@RequestMapping(method = RequestMethod.GET)的缩写。 @PostMapping是一个组合注解,是@RequestMapping(method = RequestMethod.POST)的缩写。 ps : Reques 阅读全文
posted @ 2021-07-11 07:31 清语堂 阅读(273) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/tweixi/p/13902918.html 阅读全文
posted @ 2021-07-11 07:11 清语堂 阅读(31) 评论(0) 推荐(0) 编辑