2020
10-09
10-09
SpringBoot2.3.0配置JPA的实现示例
JPA顾名思义就是JavaPersistenceAPI的意思,是JDK5.0注解或XML描述对象-关系表的映射关系,并将运行期的实体对象持久化到数据库中。依赖spring-boot-starter-data-jdbcspring-boot-starter-data-jpamysql-connector-java<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-jdbc</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId>...
继续阅读 >