JPA implementation | Sololearn: Learn to code for FREE!


JPA implementation

JPA is specification only means that we need implementation like Hibernate to use this standard, but why sometimes we can see app using JPA and app using Hibernate? Hibernate using SessionFactory, but JPA Entity Manager... Where this Entity Manager comes from? Another implementation of JPA?

2/23/2020 11:16:50 PM

Ilja Veselov

2 Answers

New Answer


I'm not exactly sure what your question is but maybe this will help:


Hibernate is a JPA implementation: If you use a JPA annotation like @Entity , @Column etc Hibernate knows from these annotations how to interact with the database.