November 2017
Intermediate to advanced
542 pages
14h 24m
English
We have already included all of the dependencies you need for this chapter, so you will not need to make any updates to your build.gradle file. However, if you are just adding Spring Data JPA support to your own application, you will need to add spring-boot-starter-data-jpa as a dependency in the build.gradle file, as follows:
//build.gradle // JPA / ORM / Hibernate: //compile('org.springframework.boot:spring-boot-starter-data-jpa') // H2 RDBMS //runtime('com.h2database:h2') // MongoDB: compile('org.springframework.boot:spring-boot-starter-data-mongodb') compile('de.flapdoodle.embed:de.flapdoodle.embed.mongo')
Notice we removed the spring-boot-starter-jpa dependency. The spring-boot-starter-data-mongodb dependency ...
Read now
Unlock full access