pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Teran <david.teran@cluster9.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Jan Willem Luiten <jwl@secondmove.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Subject: Re: PostgreSQL, WebObjects and fetchSize
Date: Thu, 12 May 2005 11:21:12 +0200
Message-ID: <4f1469e0f88bdea906530297905bb55d@cluster9.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0505111701440.15183@leary.csoft.net>
References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com>
	<42820FAC.8030806@opencloud.com>
	<61132397-965F-43FA-A744-759398221DD7@secondmove.com>
	<42821655.6000606@opencloud.com>
	<Pine.BSO.4.56.0505111701440.15183@leary.csoft.net>

Hi,

>>> 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.
>>
>
> Well defaulting it to a nonzero value is a reasonable thing to do, we 
> have
> just chosen not to for the pg driver because of possible performance
> problems specific to pg.  We could consider exposing it via a URL
> parameter.
>

That would be fine. What default value do you suggest? Project Wonder 
for WebObjects has a postgres plugin for WebObjects and i already added 
some features to the plugin so in the  meantime i would add this 
reasonable default value to the plugin so people using the plugin and 
postgres and webobjects are happy. All i need to know is a good default 
value.

And WebObjects is not using autocommit=true for Postgres, it respects 
the transaction capability from postgres and uses normal transactions.

regards, David




view thread (8+ messages)

Message-ID: <4f1469e0f88bdea906530297905bb55d@cluster9.com>
Permalink:  ../4f1469e0f88bdea906530297905bb55d@cluster9.com/
Also on:    postgresql.org/message-id/4f1469e0f88bdea906530297905bb55d@cluster9.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: david.teran@cluster9.com, books@ejurka.com, jwl@secondmove.com, oliver@opencloud.com
  Subject: Re: PostgreSQL, WebObjects and fetchSize
  In-Reply-To: <4f1469e0f88bdea906530297905bb55d@cluster9.com>
  References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.com> <61132397-965F-43FA-A744-759398221DD7@secondmove.com> <42821655.6000606@opencloud.com> <Pine.BSO.4.56.0505111701440.15183@leary.csoft.net> <4f1469e0f88bdea906530297905bb55d@cluster9.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