What is the difference between JPA and Hibernate?

What is the difference between JPA and Hibernate?

Hi,

I have seen that both Hibernate and JPA are very popular. Developers are using it for enterprise applications and there is good demand in market.

What is the difference between JPA and Hibernate? What a beginner should learn?

Thanks

View Answers

April 23, 2017 at 5:00 PM

Hi,

Hibernate

Hibernate is ORM tool and it provides the functionality of mapping Java objects to database. Hibernate tool actually interacts with database and performs database operations.

JPA

JPA is known as Java Persistence API and its an specification for implementing the persistence functionality. The implementation of JPA is known as persistence provider. Here are the implementation of JPA:

  • Hibernate

  • TopLink

  • JDO

Hibernate is one of the JPA implementations. You can use Hibernate as one of the Persistence provider in your JPA applications.

More Hibernate Tutorials.

Thanks

Ads









Related Tutorials/Questions & Answers:
What is the difference between JPA and Hibernate?
What is the difference between the >> and >>> operators?
Advertisements
what is the difference between extends and implements
what is the difference between extends and implements
what is the Difference between weblogic and jboss?
what is the difference between pop and oop
What is the difference between hibernate and spring
What is the difference between $message and $$message?
What is the difference between a constructor and a method?
What is the difference between a JDK and a JVM?
What is difference between Path and Classpath?
What is difference between singleton and prototype bean?
what is the difference between distributed application and web application?
What’s the difference between load() and get()?
What is the difference between JSF, Servlet and JSP?
what is the difference between productList==null and productList.size()==0
What is the difference between the Boolean & operator and the && operator?
What are difference between Bean Factory and Application Context ?
What is the difference between component and tag in JSF?
What is the difference between GET and POST method?
What is difference between UNIX Hosting and Window Hosting?
What is the difference between a data analyst and a data scientist?
What is difference between data analyst and data scientist?
What is the difference between an if statement and a switch statement?
What is the difference between Big Data and Hadoop?
What is the difference between Big Data and Hadoop?
What is the difference between a break statement and a continue statement?
What is difference between JDK,JRE and JVM?
What is difference between Core Java and Advanced Java?
What is difference between Core Java and Advanced Java?
what is the difference between jdk 1.4 and 1.5 and 1.6

Ads