Re: Fix for changing parameter types with server prepared statements - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Fix for changing parameter types with server prepared statements
Date
Msg-id 41FD30B9.2040509@opencloud.com
Whole thread Raw
In response to Re: Fix for changing parameter types with server prepared statements  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris Jurka wrote:

> A problem I came across is that it will actually require a reparse on the
> second execution above because the prepared statements parameters are
> cloned and stored during QueryExecutorImpl.sendParse which is before the
> results of the describe statement message can be fed back into the system.
> Any ideas on this would be appreciated.

Also store the statement itself in the describe queue, and update (in
the cloned array attached to the statement) any parameter OIDs that are
currently 0 when the ParameterDescription arrives?

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: ResultSet got NullPointerException on getMetaData calls
Next
From: Oliver Jowett
Date:
Subject: Re: Fix for changing parameter types with server prepared statements