Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] how to set a PreparedStatement column of XML type in 8.3?

From: dmp <danap(at)ttc-cmc.net>
Date: Fri Dec 14 2007 - 11:42:12 EST


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

---------------------------(end of broadcast)---------------------------
TIP 1: 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
Received on Fri Dec 14 11:55:21 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:41:31 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library