pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Jan Willem Luiten <jwl@secondmove.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: Thu, 12 May 2005 01:59:08 +1200
Message-ID: <42820FAC.8030806@opencloud.com> (raw)
In-Reply-To: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com>
References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com>

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



view thread (8+ messages)  latest in thread

Message-ID: <42820FAC.8030806@opencloud.com>
Permalink:  ../42820FAC.8030806@opencloud.com/
Also on:    postgresql.org/message-id/42820FAC.8030806@opencloud.com

 · 

reply

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: oliver@opencloud.com, jwl@secondmove.com
  Subject: Re: PostgreSQL, WebObjects and fetchSize
  In-Reply-To: <42820FAC.8030806@opencloud.com>
  References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.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