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 A9199528CA for ; Wed, 8 Jun 2005 19:51:19 -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 71572-06 for ; Wed, 8 Jun 2005 22:51:17 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 52362528BE for ; Wed, 8 Jun 2005 19:51:17 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dg9OI-0000qL-PA; Thu, 09 Jun 2005 10:51:18 +1200 Message-ID: <42A7766A.1090304@opencloud.com> Date: Wed, 08 Jun 2005 22:51:22 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sunil.Vishnubhotla@gwinnettcounty.com Cc: pgsql-jdbc@postgresql.org Subject: Re: 8.x driver with EJB CMP References: <4F61EAB5B670854A80F7365549454E160157AB0F@jacexchange02.gc.gov> In-Reply-To: <4F61EAB5B670854A80F7365549454E160157AB0F@jacexchange02.gc.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/45 X-Sequence-Number: 13007 Sunil.Vishnubhotla@gwinnettcounty.com wrote: > The same code works like a charm when I revert back to 7.4x JDBC driver with PGSql 8.x. Could it be the way the 8.x drivers are implemented? Yes, the 8.x drivers changed to make full use of the V3 protocol, which involves pushing parameter substitution to the backend. Previous drivers did textual substitution into the query, which had slightly different behaviour but limited what could be done in the way of streaming large parameter values and preserving query plans between executions. -O