admin管理员组

文章数量:1387431

Once we upgraded Spring Data JPA to 3.3.9, it throws an .springframework.dao.InvalidDataAccessApiUsageException when it executes an sql native query with pagination.

The exact exception is " .springframework.dao.InvalidDataAccessApiUsageException At least 5 parameter(s) provided but only 4 parameter(s) present in the query", note : it could be any number of parameters, and this is is relevant to our code.

This is an existing piece of code which runs fine on Spring Data JPA to 3.3.7. can you please advise us to how to resolve this issue?

本文标签: javaSpring Data JPA version 339 fails to execute named native queriies with paginationStack Overflow