Fix for changing parameter types with server prepared statements (was Re: setObject on PGInterval throws "Unknown Type null")

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Fix for changing parameter types with server prepared statements (was Re: setObject on PGInterval throws "Unknown Type null")
Date: 2005-01-27 22:55:36
Message-ID: 41F97168.9050006@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oliver Jowett wrote:

> We currently break in the case where parameter types change between
> executions, but that's more easily fixable since we have all the
> necessary information already available.

I just fixed this in CVS, it wasn't as painful to do as I originally
thought. It should also work for the NULL-as-oid-0 case if we go back to
doing that -- any change in parameter type oids causes a reprepare.

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Antony Paul 2005-01-28 07:01:20 New JDBC site
Previous Message Oliver Jowett 2005-01-27 22:09:22 Re: Enforcing CONCUR_*