Different ways of writing and testing JPA repositories in Spring Technology stack: SAP HCP Java Web Tomcat 7 runtime Liquibase EclipseLink Spring Framework Spring Data JPA Hibernate Validator JUnit 4 DBUnit with SpringTestDBUnit