http://www.springsource.com/download/community?project=Spring%20Data%20JPA&version=1.3.0.RELEASE
Implementing a data access layer of an application has been cumbersome for quite a while. Too much boilerplate code has to be written to execute simple queries as well as perform pagination, and auditing. Spring JPA aims to significantly improve the implementation of data access layers by reducing the effort to the amount that's actually needed. As a developer you write your repository interfaces, including custom finder methods, and Spring will provide the implementation automatically. (Note, this approach is not limited to JPA and has been applied to other persistance stores such as MongoDB and Neo4j as part of the Spring MongoDB and Spring Neo4j projects).
Spring JPA also takes the concept of a specification from Eric Evans' book Domain Driven Design, that carries the same semantics and provides an API to define such Specifications using the JPA criteria API.
Note, this project evolved out of the Hades open source project.
Features
- Sophisticated support to build repositories based on Spring and JPA
- Support for QueryDSL predicates and thus type-safe JPA queries
- Transparent auditing of domain class
- Pagination support, dynamic query execution, ability to integrate custom data access code
- Validation of @Query annotated queries at bootstrap time
- Support for XML based entity mapping
- JavaConfig based repository configuration by introducing
@EnableJpaRepositories
Latest News
Resources
Maven Artifacts
Releases
Here is the dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.3.1.RELEASE</version>
</dependency>
Milestones
No milestone releases for the next major version available yet.
| Maven Snapshot Repository |
<repository>
<id>spring-snapshot</id>
<name>Spring Maven SNAPSHOT Repository</name>
<url>http://repo.springsource.org/libs-snapshot</url>
</repository>
|
| Maven Snapshot Dependency |
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.4.0.BUILD-SNAPSHOT</version>
</dependency>
|