JPA Hibernate 框架就是一个 JPA 的实现。
Spring Data JAP 不是对 JPA 规范的具体实现,本身是一个抽象层。
<parent>
<groupId>org.springframework.bootgroupId>
<version>2.7.5version>
<artifactId>spring-boot-starter-parentartifactId>
parent>
<dependencies>
<dependency>
<groupId>org.springframework.bootgroupId>
<artifactId>spring-boot-starter-webartifactId>
dependency>
<dependency>
<groupId>mysqlgroupId>
<artifactId>mysql-connector-javaartifactId>
dependency>
<dependency>
<groupId>org.springframework.bootgroupId>
<artifactId>spring-