Getting started with spring-data

Installation or Setup

Spring Data is a project consisting of a number of subprojects. The most common ones are Spring Data JPA, Spring Data MongoDB, Spring Data Elasticsearch, Spring Data Neo4J, Spring Data Cassandra and Spring Data Redis.

Unless you are developing your own subproject based upon Spring Data, it is highly unlikely that you will need to use it directly in your application. See the individual subprojects for details on their installation and setup. If however, you do have the need to use Spring Data in your application directly, the following instructions will be helpful.

Using Maven


Using Gradle

dependencies {
  compile '[version-number]'

Substitute [version number] with the Spring Data version you wish to use.