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 CAC2852881 for ; Thu, 26 May 2005 21:18:49 -0300 (ADT) 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 04343-06 for ; Fri, 27 May 2005 00:18:40 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 8F85252800 for ; Thu, 26 May 2005 21:18:38 -0300 (ADT) Received: (qmail 21468 invoked from network); 27 May 2005 00:17:02 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 27 May 2005 00:17:02 -0000 Message-ID: <4296675D.6060505@fastcrypt.com> Date: Thu, 26 May 2005 20:18:37 -0400 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: PostgreSQL International User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oliver Jowett Cc: "Sergey A. Sokolov" , 'Roland Walter' , pgsql-jdbc@postgresql.org Subject: Re: BIGINT <-> java.lang.String auto cast References: <4294BAAE.4080106@fastcrypt.com> <42955CC9.6040306@opencloud.com> <4295B69E.1070308@fastcrypt.com> <42965917.7090206@opencloud.com> In-Reply-To: <42965917.7090206@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.025 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/118 X-Sequence-Number: 12949 Well, this is defined setObject( n, Double, Types.boolean) and the backend doesn't handle it Dave Oliver Jowett wrote: > Dave Cramer wrote: > >> As far as I know it doesn't handle things like setObject( n, Date, >> Types.int ) > > > Err, what the heck is the driver meant to do with that anyway? There's > a matrix of necessary-to-support conversions for setObject() in one of > the JDBC spec's appendicies.. from memory, date -> integer isn't one > of them. > -O > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561