What is JPA ?

  • JPA is a Java specification for managing relational data in Java applications.
  • It provides a way for Java objects to be mapped to relational database tables and vice versa.
  • The main goal of JPA is to simplify the development of data access layer in Java applications by providing a set of APIs and conventions for object-relational mapping.

Hibernate is one of the implementation of the Java Persistence API (JPA) specification.

Hibernate on ORM