Interview questions
Question 98 of 254
FreeWhat is Spring Data JPA, and how does it relate to JPA and Hibernate?
Spring Data JPA
JPA (Jakarta Persistence API) is a specification defining how Java objects map to relational database tables. Hibernate is the most widely used implementation of that specification. Spring Data JPA is a further abstraction layer on top of JPA that eliminates most boilerplate DAO/repository code by letting you declare a repository interface and having Spring generate the implementation automatically at runtime, based on method names or annotations.
Beginner3 min

