pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Sunil.Vishnubhotla@gwinnettcounty.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 8.x driver with EJB CMP
Date: Wed, 08 Jun 2005 22:51:22 +0000
Message-ID: <42A7766A.1090304@opencloud.com> (raw)
In-Reply-To: <4F61EAB5B670854A80F7365549454E160157AB0F@jacexchange02.gc.gov>
References: <4F61EAB5B670854A80F7365549454E160157AB0F@jacexchange02.gc.gov>

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



view thread (4+ messages)

Message-ID: <42A7766A.1090304@opencloud.com>
Permalink:  ../42A7766A.1090304@opencloud.com/
Also on:    postgresql.org/message-id/42A7766A.1090304@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, Sunil.Vishnubhotla@gwinnettcounty.com
  Subject: Re: 8.x driver with EJB CMP
  In-Reply-To: <42A7766A.1090304@opencloud.com>
  References: <4F61EAB5B670854A80F7365549454E160157AB0F@jacexchange02.gc.gov> <42A7766A.1090304@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox