Re: PostgreSQL, WebObjects and fetchSize

From: Jan Willem Luiten <jwl(at)secondmove(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: 2005-05-11 14:17:40
Message-ID: 61132397-965F-43FA-A744-759398221DD7@secondmove.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-05-11 14:27:33 Re: PostgreSQL, WebObjects and fetchSize
Previous Message Oliver Jowett 2005-05-11 13:59:08 Re: PostgreSQL, WebObjects and fetchSize