Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Difference between JPA and Hibernate

JPAHibernate
JPA is a Java specification for mapping relation data in Java application.Hibernate is an ORM framework that deals with data persistence.
JPA does not provide any implementation classes.It provides implementation classes.
It uses platform-independent query language called JPQL (Java Persistence Query Language).It uses its own query language called HQL (Hibernate Query Language).
It is defined in javax.persistence package.It is defined in org.hibernate package.
It is implemented in various ORM tools like Hibernate, EclipseLink, etc.Hibernate is the provider of JPA.
JPA uses EntityManager for handling the persistence of data.In Hibernate uses Session for handling the persistence of data.
JPA is a specification/Interface.Hibernate is only JPA implementations.
Is it helpful? Yes No

Get differences from below

©2020 WithoutBook