Inspectopedia 2025.2 Help

Spring Data

Query returning Page must have a Pageable parameter.  

Verifies that a Pageable parameter is present in queries returning Page.

Spring Data MongoDB JSON unresolved fields  

Reports unresolved document fields specified inside of org.springframework.data.mongodb.repository.Query annotation.

Spring Data repository method errors  

Reports Spring Data CRUD repository methods for which the Spring Data Query builder cannot generate the corresponding query.

Spring Data repository method parameters errors  

Reports Spring Data CRUD repository method parameters with incorrect types.

Spring Data repository method return type errors  

Reports Spring Data CRUD repository methods with incorrect return types.

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

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

Last modified: 01 April 2025