quarkus-reactive-mssql-client - Pagination throws Error
See original GitHub issueVersion
Quarkus - 2.7.2
Context
I am using pagination parameters, page Number and records per page to implement Pagination. For the same, below section of code is used.
Integer pageNo = paginationDto.getPageNumber(); Integer recordsPerPage = paginationDto.getRecordsPerPage(); Page page = new Page(pageNo, recordsPerPage); query = query.page(page);
The query when executed, gives the error as attached herewith. Error Log.txt
Do you have a reproducer?
Have created the code inside the Quarkus Hibernate code base. PFA. hibernate-reactive-panache-quickstart.zip
Steps to reproduce
- Start server
- Run postman script -> AppUsers Pagination.postman_collection.json.zip
- See error log
Issue Analytics
- State:
- Created a year ago
- Comments:16 (12 by maintainers)
Top Results From Across the Web
Pagination doesn't work with MSSQL for some query #1342
In Sql Server, we run different queries for pagination based on the type of query. ... The error happens for queries without an...
Read more >Reactive SQL Clients - Quarkus
Reactive PostgreSQL Client extension To create a Gradle project, add the --gradle or --gradle-kotlin-dsl option. For more information about how to install the...
Read more >Quarkus Panache Orm on SQL Server: error on sorting and ...
sqlserver.jdbc.SQLServerException: Incorrect syntax near 'offset'.) Someone knows the reason? I cannot use the sort and the pagination together?
Read more >Home of Quarkus Cheat-Sheet - GitHub Pages
A RESTEasy Reactive-based REST Client extension. You only need to replace the quarkus-rest-client to quarkus-rest-client-reactive . Multipart.
Read more >Pagination/orderby with multiple tables' columns-postgresql
Which of the e-mail addresses is used for sorting the customers? The error message basically reflects that uncertainty. Come up with a clear...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
Have tested this with the “Sort” option. It is working. So we are going ahead with this solution till you resolve the issue.
Regards,
Thanks. We will wait. For now, we have added the Order By and progressing with the client side deployment. But I will update once I receive the version 1.1.17.