Re: how to set a PreparedStatement column of XML type in 8.3? - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: how to set a PreparedStatement column of XML type in 8.3?
Date
Msg-id Pine.BSO.4.64.0712131625250.2084@leary.csoft.net
Whole thread Raw
In response to Re: how to set a PreparedStatement column of XML type in 8.3?  (dmp <danap@ttc-cmc.net>)
List pgsql-jdbc

On Thu, 13 Dec 2007, dmp wrote:

> Why can't we just pass a string or object, setString or setObject,
> and have it accepted without a data type check in the PostgreSQL JDBC driver.

That's what the aforementioned stringtype=unspecified URL parameter does.
The downside of this is that sometimes you want the server to know what
types you're dealing with, for example overloaded functions.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Slow query after upgrades
Next
From: Tom Duffey
Date:
Subject: Re: Slow query after upgrades