users@glassfish.java.net

Re: Limiting ammount of Data JPA pulls from Database

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Nov 2007 12:41:44 PST

Well you can invoke Query.setMaxResults() and Query.setFirstResult() and write your application so it uses these methods for pagination.

Regards
Lance
[Message sent by forum member 'lancea' (lancea)]

http://forums.java.net/jive/thread.jspa?messageID=244822