4b11a9dc8fc762ee87ab781eec69679e89066c24
Moved Spring Data JPA examples from spring-data-jpa-examples repo to this one. Added samples for MongoDB.
Spring Data Examples
This repository contains example projects for the different Spring Data modules to showcase the API and how to use the features provided by the modules.
We have separate folders for the samples of individual modules:
Spring Data JPA
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.
Spring Data MongoDB
spring-data-mongodb-example- Example project for general repository functionality as well as aggregation framework support.
Description
Languages
Java
98.1%
HTML
1.8%