springboot集成JPA

Springboot集成JPA,环境配置如下:JDK8+Eclipse+Maven+mysql

第一步:创建SpringBoot工程;

第二步:在pom.xml中添加依赖;

<dependency>
    <groupId>org.springframework.bootgroupId>
    <artifactId>spring-boot-starter-webartifactId>
dependency>

                    

你可能感兴趣的:(springboot集成JPA)