From: Jan Willem Luiten <jwl@secondmove.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: Wed, 11 May 2005 16:17:40 +0200
Message-ID: <61132397-965F-43FA-A744-759398221DD7@secondmove.com> (raw)
In-Reply-To: <42820FAC.8030806@opencloud.com>
References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com>
<42820FAC.8030806@opencloud.com>
Hello Oliver,
Thanks for the prompt reply. Unfortunately I've got no access to
Statement.setFetchSize() from within WebObjects. Is there any other
way to solve this?
Kind regards,
Jan Willem
On May 11, 2005, at 3:59 PM, Oliver Jowett wrote:
> Jan Willem Luiten wrote:
>
>
>> This seems to be caused by the jdbc adaptor reading the complete
>> resultset instead of using a scrollable cursor. Is there a way to
>> solve
>> this, eg by setting the fetchsize in some way?
>>
>
> Yes: Statement.setFetchSize(). Currently it only takes effect with
> autocommit off and TYPE_FORWARD_ONLY resultsets.
>
> -O
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jwl@secondmove.com
Subject: Re: PostgreSQL, WebObjects and fetchSize
In-Reply-To: <61132397-965F-43FA-A744-759398221DD7@secondmove.com>
References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.com> <61132397-965F-43FA-A744-759398221DD7@secondmove.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox