Spring Data

Kay-SR9

Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the special traits of the underlying data store.

It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database. The projects are developed by working together with many of the companies and developers that are behind these exciting technologies.

Features

  • Powerful repository and custom object-mapping abstractions

  • Dynamic query derivation from repository method names

  • Implementation domain base classes providing basic properties

  • Support for transparent auditing (created, last changed)

  • Possibility to integrate custom repository code

  • Easy Spring integration via JavaConfig and custom XML namespaces

  • Advanced integration with Spring MVC controllers

  • Experimental support for cross-store persistence

Community modules

  • Spring Data JDBC Extensions - Provides extensions to the JDBC support provided in the Spring Framework.

  • Spring for Apache Hadoop - Simplifies Apache Hadoop by providing a unified configuration model and easy to use APIs for using HDFS, MapReduce, Pig, and Hive.

  • Spring Content - Associate content with your Spring Data Entities and store it in a number of different stores including the File-system, S3, Database or Mongo’s GridFS.

Release train

Spring Data is an umbrella project consisting of independent projects with, in principle, different release cadences. To manage the portfolio, a BOM (Bill of Materials - see this example) is published with a curated set of dependencies on the individual project. The release trains have names, not versions, to avoid confusion with the sub-projects.

The names are an alphabetic sequence (so you can sort them chronologically) with names of famous computer scientists and software developers. When point releases of the individual projects accumulate to a critical mass, or if there is a critical bug in one of them that needs to be available to everyone, the release train will push out “service releases” with names ending “-SRX”, where “X” is a number.

Currently the release train contains the following modules:

  • Spring Data Commons

  • Spring Data JPA

  • Spring Data KeyValue

  • Spring Data LDAP

  • Spring Data MongoDB

  • Spring Data Gemfire

  • Spring Data for Apache Geode

  • Spring Data REST

  • Spring Data Redis

  • Spring Data for Apache Cassandra

  • Spring Data for Apache Solr

  • Spring Data Couchbase (community module)

  • Spring Data Elasticsearch (community module)

  • Spring Data Neo4j (community module)

Quick start

Bootstrap your application with Spring Initializr.

Documentation

Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
Kay-SR9 CURRENT GA Reference Doc. API Doc.
Lovelace-RC1 PRE Reference Doc. API Doc.
Lovelace-BUILD-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
Kay-BUILD-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
Ingalls-SR14 GA Reference Doc. API Doc.
Ingalls-BUILD-SNAPSHOT SNAPSHOT Reference Doc. API Doc.