Question - Mailing list pgsql-jdbc

From Franco Bruno Borghesi
Subject Question
Date
Msg-id 41963B7A.8080900@akyasociados.com.ar
Whole thread Raw
Responses Re: Question
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Chinese translation update
Next
From: Kris Jurka
Date:
Subject: Re: Question