pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Willem Luiten <jwl@secondmove.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: Wed, 11 May 2005 16:39:14 +0200
Message-ID: <27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.com> (raw)
In-Reply-To: <42821655.6000606@opencloud.com>
References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com>
	<42820FAC.8030806@opencloud.com>
	<61132397-965F-43FA-A744-759398221DD7@secondmove.com>
	<42821655.6000606@opencloud.com>

Hello again,

When using Openbase in the exact same setup, the out-of-memory error  
does not occur and the the results are batched properly. So somehow  
the jdbc adaptor for Openbase is able to perform this "trick" in  
combination with WebObjects, while the PostgreSQL jdbc adaptor is  
not. Yet, WO has no special provisions to work in conjunction with  
Openbase.

Besides that, on the TODO list it says under "Performance":

     Allow scrollable ResultSets to not fetch all results in one batch.

Could this have to do with the problem I encountered?

kind regards,

Jan Willem.

On May 11, 2005, at 4:27 PM, Oliver Jowett wrote:

> Jan Willem Luiten wrote:
>
>
>> 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?
>>
>
> This is up to WebObjects to support -- it's a standard JDBC mechanism.
> The driver doesn't give you another way to set it.
>
> -O
>
>




view thread (8+ messages)  latest in thread

Message-ID: <27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.com>
Permalink:  ../27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.com/
Also on:    postgresql.org/message-id/27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.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: jwl@secondmove.com
  Subject: Re: PostgreSQL, WebObjects and fetchSize
  In-Reply-To: <27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.com>
  References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.com> <61132397-965F-43FA-A744-759398221DD7@secondmove.com> <42821655.6000606@opencloud.com> <27FC044C-20E7-40DF-BD55-4E3F3032A82C@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