莫问天涯路几重,轻衫侧帽且从容。这篇文章主要讲述#yyds干货盘点#Spring Data JPA入门使用相关的知识,希望能为你提供帮助。
1、Spring Data JPA【#yyds干货盘点#Spring Data JPA入门使用】
1.1、pom
< ?xml version="1.0" encoding="UTF-8"?>
< project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
< modelVersion> 4.0.0< /modelVersion>
< parent>
< groupId> org.springframework.boot< /groupId>
< artifactId> spring-boot-starter-parent< /artifactId>
< version> 2.1.2.RELEASE< /version>
< relativePath/> < !-- lookup parent from repository -->
< /parent>
< groupId> com.zhz< /groupId>
< artifactId> spring-boot-jpa-demo< /artifactId>
< version> 0.0.1-SNAPSHOT< /version>
< name> spring-boot-jpa-demo< /name>
< description> SpringBoot集成JPA< /description>
< properties>
< java.version> 1.8< /java.version>
< /properties>
< dependencies>
< dependency>
< groupId> org.springframework.boot< /groupId>
< artifactId> spring-boot-starter-data-jpa< /artifactId>
< /dependency>
< dependency>
< groupId> org.joda< /groupId>
< artifactId> joda-money< /artifactId>
< version> 1.0.1< /version>
< /dependency>
< dependency>
< groupId> org.jadira.usertype< /groupId>
< artifactId> usertype.core< /artifactId>
< version> 6.0.1.GA< /version>
< /dependency>
< dependency>
< groupId> mysql< /groupId>
< artifactId> mysql-connector-java< /artifactId>
< /dependency>
< dependency>
< groupId> com.h2database< /groupId>
< artifactId> h2< /artifactId>
< scope> runtime< /scope>
< /dependency>
< dependency>
< groupId> org.projectlombok< /groupId>
< artifactId> lombok< /artifactId>
< optional> true< /optional>
< /dependency>
< dependency>
< groupId> org.springframework.boot< /groupId>
< artifactId> spring-boot-starter-test< /artifactId>
< scope> test< /scope>
< /推荐阅读
- #yyds干货盘点# springcloud整合Sentinel使用Nacos存储规则
- WordPress滑块在Safari中加载错误
- WordPress显示PHP代码而不是菜单内容
- wordpress网站只能在本地工作,而不能在在线服务器上工作
- WordPress-在子类别上显示自定义分类父类别
- WordPress回复按钮()
- WordPress(从特定页面删除特色图像)
- wordpress-第一篇文章的query_post循环
- WordPress-使用HTML内容打印自定义字段