Let's set up a simple project to understand the different concepts related to Spring Data Commons and Spring Data JPA.
The following are the steps involved:
- Create a new project with spring-boot-starter-data-jpa as a dependency.
- Add entities.
- Add the SpringBootApplication class to run the application.
- Create repositories.