Re: PostgreSQL, WebObjects and fetchSize

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Jan Willem Luiten <jwl(at)secondmove(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: 2005-05-11 13:59:08
Message-ID: 42820FAC.8030806@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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 Jan Willem Luiten 2005-05-11 14:17:40 Re: PostgreSQL, WebObjects and fetchSize
Previous Message Jan Willem Luiten 2005-05-11 13:47:12 PostgreSQL, WebObjects and fetchSize