Can someone put in perspective the difference between JPA and Hibernate. Or are these complementary concepts, to be used together?
Can someone put in perspective the difference between JPA and Hibernate. Or are these
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Roughly, JPA is a standard from the java community, here the specs, which has been implemented (and extended) by the Hibernate guys (some info here). Being a spec, you will not be using JPA directly, but a JPA implementation.
Beware that if you’ll use the hibernate JPAs’ extensions, you’ll break the compatibility with other JPA implementations (though some will say ‘why you should use another JPA implementation?’).