易百教程

15、如何使用 JPA 将 Spring Boot 连接到数据库?

Spring Boot 提供 spring-boot-starter-data-jpa starter 来高效连接 Spring 应用和关系型数据库。可以在项目 POM(项目对象模型)文件中使用它。