For giggles, try this...
- Set the FetchBatchSize to 2000
- Execute your query
- Once you get the result back, iterate over the entire list before you send
it out to your client.

On Mon, Sep 12, 2011 at 2:17 AM, M. Walter <marc.wal...@sbb.ch> wrote:

> How do I set fetch size in JPA? I would like the cursor to read 2000 rows
> at
> once to speed up entity generation. Thanks for help!
>
> --
>
-- 
*Rick Curtis*

Reply via email to