persistence@glassfish.java.net

Re: setFirstResult/setMaxResults in memory?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 19 Dec 2006 23:32:50 -0800

Resending with a jar attachment.

-marina

Marina Vatkina wrote:
> Tom,
>
> Does TLE perform setFirstResult/setMaxResults operations in
> memory instead of pushing it to the database? My slightly
> modified example from the entity-persistence web page (attached)
> shows that while the result is correct, the query reads the
> whole table into memory (verified via log level FINE).
>
> Is it a bug?
>
> thanks,
> -marina