What is the difference between JPA and Hibernate?

 
 

Share on Google+Share on Google+

Java Coder
What is the difference between JPA and Hibernate?
1 Answer(s)      7 months ago
Posted in : 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

Ads
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:
Advertisements

Ads

 
Advertisement null

Ads