Add README

This commit is contained in:
2026-07-25 05:36:45 +00:00
parent 9928de8900
commit cbcb80c247

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# sdjpa4-demo
Runnable companion project for [Spring Data JPA 3 to 4 Migration Guide](https://ankurm.com/spring-data-jpa-3-to-4-migration-guide-2/) on ankurm.com.
Four entities, two repositories, a `@NullMarked` package, seven passing behavior tests, and an A-G demo runner that prints every labelled console output shown in the article. Boots H2 in memory, so there's nothing to install beyond a JDK.
Built and verified on Eclipse Temurin JDK 21.0.11, Spring Boot 4.0.6, Spring Data JPA 4.0.6, Hibernate ORM 7.2, H2 in-memory.
## Run it
```
git clone https://ankurm.com/git.app/asmhatre/sdjpa4-demo.git
cd sdjpa4-demo
./mvnw spring-boot:run # prints the labelled A-G demonstrations
./mvnw test # runs the 7 behavior tests (all green)
```