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 664595284B for ; Thu, 26 May 2005 08:44:37 -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 02112-07 for ; Thu, 26 May 2005 11:44:34 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id A768052816 for ; Thu, 26 May 2005 08:44:32 -0300 (ADT) Received: (qmail 13791 invoked from network); 26 May 2005 11:42:55 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 26 May 2005 11:42:55 -0000 Message-ID: <4295B69E.1070308@fastcrypt.com> Date: Thu, 26 May 2005 07:44:30 -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> In-Reply-To: <42955CC9.6040306@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/115 X-Sequence-Number: 12946 Oliver, As far as I know it doesn't handle things like setObject( n, Date, Types.int ) I think most of the conversions are being handled by the server. Dave Oliver Jowett wrote: >Dave Cramer wrote: > > >>I have a patch that I haven't applied yet, but can that will allow you >>to use setObject(n, obj,sqltype) and it will convert obj to the sqltype >>requested as per the spec. >> >> > >Err the current driver already did this, I thought? > >-O > >---------------------------(end of broadcast)--------------------------- >TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561