Question: how jpa repository works in spring?
Answer: 1. Working with Spring Data Repositories. The goal of Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores. ... It uses the configuration and code samples for the Java Persistence API (JPA) module.