Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Usama Saad , Senior Software Engineer (Java) , Saudi Catering Company
Date de publication: 2013/11/01
Muhammad Haseeb
par 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
par Irfan Hassan , Developer , Aktor Como Intercity Facilities Management

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

Utilisateur supprimé
par Utilisateur supprimé

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