Question

Поиск
Список
Период
Сортировка
От Franco Bruno Borghesi
Тема Question
Дата
Msg-id 41963B7A.8080900@akyasociados.com.ar
обсуждение исходный текст
Ответы Re: Question
Список pgsql-jdbc
Hi all.

I've donwloaded pg80b1.308.jdbc3.jar from jdbc.postgresql.org and now my
calls to PreparedStatement.setObject(int, Object) are failing, when they
used to work with the previous driver version.

The message I get is: "Cant infer the SQL type to use for an instance of
{0}. Use setObject() with an explicit Types value to specify the type to
use.".

Calling setObject(int, Object, Types.xxxxx) works ok, but I need
setObject(int, Object). I've tryied setObject(int, Character) and
setObject(int, java.util.Date) and both fail with the same message.
Haven't tested other cases.

Is there anything that has changed? I've searched the lists but I didn't
find anything about it.
Thanks in advance.



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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Chinese translation update
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Question