0

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?

23rd Feb 2020, 11:16 PM
Ilja Veselov
Ilja Veselov - avatar
2 Respostas
0
I'm not exactly sure what your question is but maybe this will help: https://dzone.com/articles/what-is-the-difference-between-hibernate-and-sprin-1
24th Feb 2020, 12:06 AM
BroFar
BroFar - avatar
0
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.
24th Feb 2020, 10:07 PM
Tashi N
Tashi N - avatar