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?
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
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.