Add casts & related fixes

Поиск
Список
Период
Сортировка
От Kim Ho
Тема Add casts & related fixes
Дата
Msg-id 1057675003.21368.69.camel@topanga.toronto.redhat.com
обсуждение исходный текст
Ответы Re: Add casts & related fixes  (Barry Lind <blind@xythos.com>)
Список pgsql-jdbc
Problem:
 - This improves the handling of numbers by adding the casts required by
the backend.  As a result, many JDBC compliance tests now pass.

Fix:
 - Use m_bindTypes to add a '::<cast>' when we send the query in
QueryExecutor.
 - Changes a lot of the casts, especially for numbers, to ensure that
all the proper types are being cast.


Additional patches that are related:
SetObjectNumbers:
 - Due to the addcasts patch, this one deals with the fact that
different numbers are dealt with differently now.

SetObjectBinary:
 - Calls the setByte[] instead of setObject (which used to default to
string I believe). If not, attempt to cast the string to byte[].

Feedback and suggestions welcome.

Cheers,

Kim

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Felipe Schnack
Дата:
Сообщение: Re: maybe a serialization error?
Следующее
От: Kim Ho
Дата:
Сообщение: registerOutParameter