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 6DDD354A11 for ; Wed, 11 May 2005 11:39:21 -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 20285-05 for ; Wed, 11 May 2005 14:39:12 +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 677875320D for ; Wed, 11 May 2005 11:39:11 -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 86B241005DD9 for ; Wed, 11 May 2005 16:39:15 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v728) 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> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <27FC044C-20E7-40DF-BD55-4E3F3032A82C@secondmove.com> Content-Transfer-Encoding: 7bit From: Jan Willem Luiten Subject: Re: PostgreSQL, WebObjects and fetchSize Date: Wed, 11 May 2005 16:39:14 +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/47 X-Sequence-Number: 12878 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 > >