Inspectopedia
 
2024.3

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

Warning
Code Style
New
Last modified: 03 December 2024

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