This is the source code for Testing Spring Data JPA with @DataJpaTest
- Spring Boot 3.1.2
- Spring Data JPA (Hibernate 6 is the default JPA implementation)
- H2 in-memory database
- Maven
- Java 17
- JUnit 5
$ git clone https://github.com/mkyong/spring-boot.git
$ cd spring-data-jpa-test
$ ./mvnw test