Re: Fix for changing parameter types with server prepared statements

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Fix for changing parameter types with server prepared statements
Дата
Msg-id 41FD30B9.2040509@opencloud.com
обсуждение исходный текст
Ответ на Re: Fix for changing parameter types with server prepared statements  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: ResultSet got NullPointerException on getMetaData calls
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Fix for changing parameter types with server prepared statements