A Tutorial howto use Spring Data JPA (http://projects.spring.io/spring-data-jpa/). Please be patient, this is build step by step.