pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: pg@fastcrypt.com
Cc: Silvio Bierman <sbierman@jambo-software.com>
Cc: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: PreparedStatement#setString on non-string parameters
Date: 08 Mar 2005 13:56:17 +0100
Message-ID: <87y8cyl2j2.fsf@meuh.mnc.ch> (raw)
In-Reply-To: <422D9B80.6080306@fastcrypt.com>
References: <JGEOKLDJHLJNAPFIBKBNCEICDCAA.sbierman@jambo-software.com>
	<422D9B80.6080306@fastcrypt.com>

Dave Cramer <pg 'at' fastcrypt.com> 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



view thread (14+ messages)  latest in thread

Message-ID: <87y8cyl2j2.fsf@meuh.mnc.ch>
Permalink:  ../87y8cyl2j2.fsf@meuh.mnc.ch/
Also on:    postgresql.org/message-id/87y8cyl2j2.fsf@meuh.mnc.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gc@mnc.ch, pg@fastcrypt.com, sbierman@jambo-software.com
  Subject: Re: PreparedStatement#setString on non-string parameters
  In-Reply-To: <87y8cyl2j2.fsf@meuh.mnc.ch>
  References: <JGEOKLDJHLJNAPFIBKBNCEICDCAA.sbierman@jambo-software.com> <422D9B80.6080306@fastcrypt.com> <87y8cyl2j2.fsf@meuh.mnc.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox