I have a Spring MVC 4.0 application, and I am learning JPA. I use Hibernate as the JPA implementation.
I can configure Hibernate as described in this tutorial. It works
It can be use with @Autowired as shown in https://stackoverflow.com/a/33742769/2028440
@Autowired private EntityManager entityManager;