Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Useless count queries #13

Open
heruan opened this issue Aug 9, 2018 · 0 comments
Open

Useless count queries #13

heruan opened this issue Aug 9, 2018 · 0 comments

Comments

@heruan
Copy link

heruan commented Aug 9, 2018

I see every time the fetchFromBackend method is called, two queries are issued:

  • an unfiltered count query
  • a filtered select query

I think this is due to Spring's Page which issues a count query to provide the total number of items, which is not needed by Vaadin's data providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant