Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Spring Data JPA version 3.3.9 fails to execute named native queriies with pagination #3818

Closed
mail2ranjanas opened this issue Mar 18, 2025 · 3 comments

Comments

@mail2ranjanas
Copy link

Once we upgraded Spring Data JPA to 3.3.9, it throws an org.springframework.dao.InvalidDataAccessApiUsageException when it executes an sql native query with pagination. the exact exception is " org.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, 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?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 18, 2025
@christophstrobl
Copy link
Member

Thanks for getting in touch - please make sure to provide the full stacktrace. It would be ideal if you could take the time to provide a complete minimal sample (something that we can unzip or git clone, build, and deploy) that reproduces the problem.

@christophstrobl christophstrobl added the status: waiting-for-feedback We need additional information before we can continue label Mar 18, 2025
@spring-projects-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Mar 25, 2025
@spring-projects-issues
Copy link

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2025
@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Apr 1, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants