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 A0E345516A for ; Tue, 8 Mar 2005 12:56:25 +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 56274-02 for ; Tue, 8 Mar 2005 12:56:21 +0000 (GMT) Received: from mnc.ch (unknown [212.23.250.43]) by svr1.postgresql.org (Postfix) with ESMTP id F3CF3550EE for ; Tue, 8 Mar 2005 12:56:19 +0000 (GMT) Received: (qmail 779 invoked from network); 8 Mar 2005 13:56:21 +0100 Received: from 62-2-77-204.business.cablecom.ch (HELO meuh.mnc.ch) (62.2.77.204) by www.mnc.ch.com with SMTP; 8 Mar 2005 13:56:21 +0100 Received: by meuh.mnc.ch (Postfix, from userid 1000) id BFA6923F50B; Tue, 8 Mar 2005 13:56:17 +0100 (CET) To: pg@fastcrypt.com Cc: Silvio Bierman , PostgreSQL JDBC Subject: Re: PreparedStatement#setString on non-string parameters References: <422D9B80.6080306@fastcrypt.com> From: Guillaume Cottenceau Date: 08 Mar 2005 13:56:17 +0100 In-Reply-To: <422D9B80.6080306@fastcrypt.com> Message-ID: <87y8cyl2j2.fsf@meuh.mnc.ch> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.052 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/63 X-Sequence-Number: 12456 Dave Cramer writes: > Silvio, > > I presume you are talking about setObject ??? I can't find a > setString(non-string param) He says "XML data (..) many numeric values are available as Strings" so I think the SQL column is numeric but the rest is string (a java string containing the string representation of the numeric value). -- Guillaume Cottenceau