users@glassfish.java.net

Re: EntityManager not clearing data from memory

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Dec 2007 08:07:23 PST

Anyone know if using setFirstResult() and setMaxResult() work like I think they should. With the gerResultList() only pulling in what is requested?

Or does it pull everything up to the FirstResult as well as firstresult to max result?

So if the firstResult is set to be the 85,000th result would it start pulling from the DB there? or would it pull from 0-84,999 to get to the 85,000th result?
[Message sent by forum member 'brianpeck' (brianpeck)]

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