From: dmp <danap@ttc-cmc.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: how to set a PreparedStatement column of XML type in 8.3?
Date: Fri, 14 Dec 2007 09:42:12 -0700
Message-ID: <4762B264.9040303@ttc-cmc.net> (raw)
Exactly my point.
dana.
> On Fri, 14 Dec 2007, Matt Magoffin wrote:
>
>> Do you think it's worth considering having the 8.3 driver do this
>> automatic conversion of String <-> xml, so that users don't have to use
>> PGObject or set the stringtype=unspecified connection parameter?
>
>
> The driver can't really do that. At the time you say setString, the
> driver doesn't know that the real target type is xml, so the driver's
> only options are to set the parameter type to varchar (String) or
> unknown (the unspecified URL parameter).
>
> Kris Jurka
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: danap@ttc-cmc.net
Subject: Re: how to set a PreparedStatement column of XML type in 8.3?
In-Reply-To: <4762B264.9040303@ttc-cmc.net>
References: <4762B264.9040303@ttc-cmc.net>
* 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