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

From: Kris Jurka <books(at)ejurka(dot)com>
To: dmp <danap(at)ttc-cmc(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: how to set a PreparedStatement column of XML type in 8.3?
Date: 2007-12-13 21:27:15
Message-ID: Pine.BSO.4.64.0712131625250.2084@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Duffey 2007-12-13 21:28:21 Re: Slow query after upgrades
Previous Message Oliver Jowett 2007-12-13 21:20:33 Re: Slow query after upgrades