Spring 4 and JPA with Hibernate http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/
Table of Contents
Overview
The JPA Spring Configuration with Java
The JPA Spring Configuration with XML
Going full XML-less
The Maven configuration
Conclusion
Overview
This is tutorial shows how to set up Spring with JPA, using Hibernate as a persistence provider.
For a step by step introduction about setting up the Spring context using Java based configuration and the basic Maven pom for the project, see this article.