File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem to limit a query with JPA and tomplink

 
Ismael Rodriguez
Greenhorn
Posts: 6
  • 0
  • 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic