Delete by Cascade Using Spring Data JPA Prerequisites install Java 20 or higher with your package manager e.g. # For Windows with Scoop scoop install openjdk20 Run the application make run # or ./gradlew bootRun Run tests make test # or ./gradlew test