X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 858E152808 for ; Thu, 12 May 2005 06:21:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03084-07 for ; Thu, 12 May 2005 09:21:36 +0000 (GMT) Received: from ns2.rox.net (ns2.rox.net [212.63.65.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5F9A35338E for ; Thu, 12 May 2005 06:21:35 -0300 (ADT) Received: from localhost ([127.0.0.1]) by emma.rox.net with esmtp (Exim 4.44) id 1DW9sx-0004Qw-4k; Thu, 12 May 2005 11:21:39 +0200 Received: from e176011089.adsl.alicedsl.de ([85.176.11.89] helo=[10.0.1.6]) by emma.rox.net with esmtpa (Exim 4.44) id 1DW9su-0004E1-Na; Thu, 12 May 2005 11:21:36 +0200 In-Reply-To: References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.com> <61132397-965F-43FA-A744-759398221DD7@secondmove.com> <42821655.6000606@opencloud.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4f1469e0f88bdea906530297905bb55d@cluster9.com> Content-Transfer-Encoding: 7bit Cc: pgsql-jdbc@postgresql.org, Jan Willem Luiten , Oliver Jowett From: David Teran Subject: Re: PostgreSQL, WebObjects and fetchSize Date: Thu, 12 May 2005 11:21:12 +0200 To: Kris Jurka X-Mailer: Apple Mail (2.622) X-Scanned-By: rockenstein AG X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/60 X-Sequence-Number: 12891 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