Update/Delete queries must be annotated with @Modifying, otherwise an InvalidDataAccessApiUsageException will be thrown.

Last modified: 03 December 2024

Checks that delete/update queries are annotated with the @Modifying annotation.