![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jpa学习日志
兔子先生9959
这个作者很懒,什么都没留下…
展开
-
存储Timestamp格式到数据库中
textBookEntity.setSellTime(new Timestamp(System.currentTimeMillis()));原创 2020-10-09 13:08:06 · 616 阅读 · 0 评论 -
学习SpringBoot整合Swagger2
创建工程 创建一个Spring Boot项目,加入web和两个Swagger2相关的依赖如下: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency>原创 2020-10-08 14:31:51 · 127 阅读 · 0 评论 -
QueryDSL结合SpringDataJPA的学习
目标 实现QueryDSL通用查询语言整合SpringDataJPA完成单表的查询 快速创建实体类及Q实体 创基基类JPA package com.example.text.base; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframewor原创 2020-10-07 14:42:06 · 324 阅读 · 0 评论