Object-relational Mapping Using JPA, Hibernate and Spring Data JPA
Cătălin Tudose, Carmen Odubăşteanu · 2021
Object persistence means that information from the objects in an application can survive after that application ended its execution; this information can be saved and retrieved. Persistence in Java will require object-relational mapping - mapping the object instances to the tables of a relational database. There are a few alternatives to make this object-relational mapping, from which we analyze, compare, and contrast Jakarta Persistence API (JPA), Hibernate, and Spring Data JPA.