浩晨众云网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
本文介绍了SpringBoot集成JPA的示例代码,分享给大家,具体如下:
1.创建新的maven项目
2. 添加必须的依赖
org.springframework.boot spring-boot-starter-parent 1.5.9.RELEASE org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-data-jpa mysql mysql-connector-java