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 537BA53E6A for ; Wed, 11 May 2005 11:17:47 -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 17328-07 for ; Wed, 11 May 2005 14:17:38 +0000 (GMT) Received: from mail.secondmove.com (cust.8.100.adsl.cistron.nl [62.216.8.100]) by svr1.postgresql.org (Postfix) with ESMTP id 5FA9854B4E for ; Wed, 11 May 2005 11:17:37 -0300 (ADT) Received: from [192.168.1.10] (cust.91.176.adsl.cistron.nl [195.64.91.176]) by mail.secondmove.com (Postfix) with ESMTP id 8536B1005D79 for ; Wed, 11 May 2005 16:17:41 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v728) In-Reply-To: <42820FAC.8030806@opencloud.com> References: <1DC92299-A6C8-4C81-A1F2-54FA837FDC39@secondmove.com> <42820FAC.8030806@opencloud.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <61132397-965F-43FA-A744-759398221DD7@secondmove.com> Content-Transfer-Encoding: 7bit From: Jan Willem Luiten Subject: Re: PostgreSQL, WebObjects and fetchSize Date: Wed, 11 May 2005 16:17:40 +0200 To: pgsql-jdbc@postgresql.org X-Mailer: Apple Mail (2.728) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/45 X-Sequence-Number: 12876 Hello Oliver, 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? Kind regards, Jan Willem On May 11, 2005, at 3:59 PM, Oliver Jowett wrote: > 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 > >