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

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Tom DuffeyDate: 2007-12-13 21:28:21
Subject: Re: Slow query after upgrades
Previous:From: Oliver JowettDate: 2007-12-13 21:20:33
Subject: Re: Slow query after upgrades

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