Re: setObject on PGInterval throws "Unknown Type null"
От | Oliver Jowett |
---|---|
Тема | Re: setObject on PGInterval throws "Unknown Type null" |
Дата | |
Msg-id | 41F6D3EC.5000103@opencloud.com обсуждение исходный текст |
Ответ на | Re: setObject on PGInterval throws "Unknown Type null" (Kris Jurka <books@ejurka.com>) |
Ответы |
Re: setObject on PGInterval throws "Unknown Type null"
Fix for changing parameter types with server prepared statements (was Re: setObject on PGInterval throws "Unknown Type null") |
Список | pgsql-jdbc |
Kris Jurka wrote: > For non-null values we need the > strong typing to ensure that we don't send data in a different format than > the server expects, but this is not an issue with nulls. What about when we prepare a statement with a null parameter, then later use it with a non-null parameter? There is some protocol code needed here to get the inferred types back. 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. -O
В списке pgsql-jdbc по дате отправления: