users@glassfish.java.net

Re: about Fetchsize of Query

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Nov 2007 07:43:44 PST

> Hi, Guru
>
> [Environment]
>
> -Solaris9
> -Glassfish V2 b58g
>
> [Question 1]
>
> Can I use the Array fetch with toplink essentials.
> I tested the below coding and it seem to be OK.
> I can't find a document about fetchsize of Toplink
> Essentials.
> If it don't be supported, is there another method?
>
>
> <snipped>
> Query queryEmployees
> = entityManager.createQuery("SELECT
> CT OBJECT(employee) FROM Employee employee");
> queryEmployees.setHint("fetchSize ", 100);
> (List) queryEmployees.getResultList();
>
> <snipped>
>
>
> [Question 2]
> What is the "toplink.jdbc.bind-parameters"
> property?
> Please inform me information about the sample
> program.
>
> Thank you very much.
Please see http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html#QueryHints
[Message sent by forum member 'lancea' (lancea)]

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