Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem to limit a query with JPA and tomplink  RSS feed

Ismael Rodriguez
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to improve the performance of a website in regards to the list, and for that I made a pagination. The problem is that when I press to show me the list for the first time, load all the records in the database, so it takes a while.

The paging system works well, the problem is what I said to the first query I get all the data, and I would have specified that only want X JPA results with:

The following requests that if I'm doing the way I want done, the problem is the first, what can
be happening?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!