Skip site navigation (1) Skip section navigation (2)

Re: PreparedStatement#setString on non-string parameters

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: pg(at)fastcrypt(dot)com
Cc: Silvio Bierman <sbierman(at)jambo-software(dot)com>,PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PreparedStatement#setString on non-string parameters
Date: 2005-03-08 12:56:17
Message-ID: 87y8cyl2j2.fsf@meuh.mnc.ch (view raw or flat)
Thread:
Lists: pgsql-jdbc
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

In response to

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2005-03-08 13:09:35
Subject: Re: PreparedStatement#setString on non-string parameters
Previous:From: Dave CramerDate: 2005-03-08 12:33:04
Subject: Re: PreparedStatement#setString on non-string parameters

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group