ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Usama Saad , Senior Software Engineer (Java) , Saudi Catering Company
تاريخ النشر: 2013/11/01
Muhammad Haseeb
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة