Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E2C9A6326E1 for ; Tue, 21 Jul 2009 01:42:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 93070-06 for ; Tue, 21 Jul 2009 01:42:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f212.google.com (mail-fx0-f212.google.com [209.85.220.212]) by mail.postgresql.org (Postfix) with ESMTP id 0881E6323C4 for ; Tue, 21 Jul 2009 01:42:13 -0300 (ADT) Received: by fxm8 with SMTP id 8so908363fxm.40 for ; Mon, 20 Jul 2009 21:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Nk8yvUcywhePbngOpfA1yVVv/FQlumPsXuGsGxpJB/U=; b=QcsA7kXm9uTTYor8vljgaiQaulst62jiGU0ZSjlKLQv1B3UCii2sc54l08TANAgERq cR+2rTVeZANHJSy4l5JlU5LbKYPPpCLhMRiNbLht6D8IBkxhYLb1lKAd58Rriu0SWrl7 vGsBd6awB2tl488ey94zgj9pDObxdaRGY7BdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Do2GVNIGfi19us8jxZSLZR6yFvp50gpM/lwjBF4vVSToavfc6+bnVTjGnIxLvl0Y8n 9JNoC/hofTPpaKo9DHc0/9gLU/3l4JSVyT8BOyR0GJFPOxlvWxQ1Qe70wyiSdeeon7+H +x9ga1n9Cskx99cShU2OhuUulZryyOerMTn58= MIME-Version: 1.0 Received: by 10.86.54.8 with SMTP id c8mr4316412fga.38.1248151332524; Mon, 20 Jul 2009 21:42:12 -0700 (PDT) In-Reply-To: <4A65248C.8040406@elyograg.org> References: <4A65248C.8040406@elyograg.org> Date: Tue, 21 Jul 2009 07:42:12 +0300 Message-ID: <331e40660907202142s2abd0517icb79620cc38554f7@mail.gmail.com> Subject: Re: Forcing cursor behavior From: =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= To: Shawn Heisey Cc: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=000e0cd2479ecd15b7046f2fe036 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200907/47 X-Sequence-Number: 19815 --000e0cd2479ecd15b7046f2fe036 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/7/21 Shawn Heisey > > Would it be possible to patch the jdbc driver so that it will internally > turn autcommit off, set the fetchsize to 10,000, and ignore any attempt by > the application to change these parameters? Could someone create such a > patch for me? I am using java 1.5, so the driver compiles as the 3g version. > Is not it easier to use a delegating driver that does required actions on *Statement creation? You won't have to get into Postgresql JDBC driver and will have no problems with any driver updates. --000e0cd2479ecd15b7046f2fe036 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2009/7/21 Shawn Heisey <pgsql@elyograg.org>

Would it be possible to patch the jdbc driver so that it will internally tu= rn autcommit off, set the fetchsize to 10,000, and ignore any attempt by th= e application to change these parameters? =A0Could someone create such a pa= tch for me? I am using java 1.5, so the driver compiles as the 3g version.<= br>

Is not it easier to use a delegating driver th= at does required actions on *Statement creation? You won't have to get = into Postgresql JDBC driver and will have no problems with any driver updat= es.
--000e0cd2479ecd15b7046f2fe036--