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 4540052813 for ; Thu, 26 May 2005 21:23:55 -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 08323-01 for ; Fri, 27 May 2005 00:23:51 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 6103452825 for ; Thu, 26 May 2005 21:23:50 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DbSdL-0005iy-34; Fri, 27 May 2005 12:23:27 +1200 Message-ID: <42966881.2000609@opencloud.com> Date: Fri, 27 May 2005 00:23:29 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pg@fastcrypt.com 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> <4296675D.6060505@fastcrypt.com> In-Reply-To: <4296675D.6060505@fastcrypt.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.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/119 X-Sequence-Number: 12950 Dave Cramer wrote: > Well, this is defined > > setObject( n, Double, Types.boolean) and the backend doesn't handle it Ah, ok, guess we missed that one. AFAIK the driver should handle most of the required conversions, though -- I don't see that adding support for (for example) double->boolean requires a complete rewrite of setObject() as you originally suggested, we already have a structure in place for conversions? What other conversions is the driver missing? -O