This repository contains a variety of sample projects showing Spring Data JPA functionality.
spring-data-jpa-example- probably the project you want to have a look at first. Contains a variety of sample packages, showcasing the different levels at which you can use Spring Data JPA. Have a look at thesimplepackage for the most basic setup.java8-auditing- example of how to use Spring Data JPA auditing with Java 8 date time types.spring-data-jpa-showcase- refactoring show case of how to improve a plain-JPA-based persistence layer by using Spring Data JPA (read: removing close to all of the implementation code). Follow thedemo.txtfile for detailed instructions.spring-data-jpa-interceptors- Example of how to enrich the repositories with AOP.