Question: how jpa repository works internally?
Answer: 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.