Skip site navigation (1) Skip section navigation (2)


From: Franco Bruno Borghesi <franco(at)akyasociados(dot)com(dot)ar>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Question
Date: 2004-11-13 16:51:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Hi all.

I've donwloaded pg80b1.308.jdbc3.jar from 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 

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

Next:From: Kris JurkaDate: 2004-11-13 17:04:52
Subject: Re: Question
Previous:From: Kris JurkaDate: 2004-11-11 10:03:01
Subject: Re: Chinese translation update

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group