Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Jan Willem LuitenDate: 2005-05-11 14:17:40
Subject: Re: PostgreSQL, WebObjects and fetchSize
Previous:From: Jan Willem LuitenDate: 2005-05-11 13:47:12
Subject: PostgreSQL, WebObjects and fetchSize

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group