Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which is better in performance hibernate Or JPA ?

I am building a java web project using Mysql DB, which will be the best choice to choose , Hibernate / JPA ?

user-image
Question added by Usama Saad , Senior Software Engineer (Java) , Saudi Catering Company
Date Posted: 2013/11/01
Muhammad Haseeb
by Muhammad Haseeb , Senior Software Developer , Stella Technology

JPA is just an API. you will need JPA compatible libraries if you want to use it. As far as i know, hibernate framework offers the best JPA implementation.

 

JPA will not let you depend on hibernate and will allow you to switch to other JPA drivers/implementations without changing your code.

Irfan Hassan
by Irfan Hassan , Developer , Aktor Como Intercity Facilities Management

Hibernate is used more and is advanced than JPA so you should start with Hibernate.

JPA is an interface,Hibernate is providing implentation of JPA..

You can use it two ways

1.JPA+JPA provider(like Hibernate,Toplink,Spring Data JPA..)

2.or only use Hibernate.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.