X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 230293A4A9F for ; Sat, 13 Nov 2004 16:51:14 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13128-05 for ; Sat, 13 Nov 2004 16:51:09 +0000 (GMT) Received: from lucifer.oficina (unknown [200.68.121.201]) by svr1.postgresql.org (Postfix) with ESMTP id ACC763A4AA2 for ; Sat, 13 Nov 2004 16:51:07 +0000 (GMT) Received: from localhost (localhost.akyasociados.com.ar [127.0.0.1]) by lucifer.oficina (8.13.1/8.12.10) with ESMTP id iADGp9Q0046626 for ; Sat, 13 Nov 2004 13:51:09 -0300 (ART) (envelope-from franco@akyasociados.com.ar) Received: from lucifer.oficina ([127.0.0.1]) by localhost (lucifer.oficina [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34387-16 for ; Sat, 13 Nov 2004 13:51:08 -0300 (ART) Received: from [192.168.1.168] (taz.oficina [192.168.1.168]) (authenticated bits=0) by lucifer.oficina (8.13.1/8.12.10) with ESMTP id iADGp7Hv046621 for ; Sat, 13 Nov 2004 13:51:08 -0300 (ART) (envelope-from franco@akyasociados.com.ar) Message-ID: <41963B7A.8080900@akyasociados.com.ar> Date: Sat, 13 Nov 2004 13:51:06 -0300 From: Franco Bruno Borghesi User-Agent: Mozilla Thunderbird 0.9 (X11/20041108) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at akyasociados.com.ar X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/108 X-Sequence-Number: 11530 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.