From: Kris Jurka <books@ejurka.com>
To: Matt Magoffin <postgresql.org@msqr.us>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: how to set a PreparedStatement column of XML type in 8.3?
Date: Thu, 13 Dec 2007 00:55:27 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0712130051180.2048@leary.csoft.net> (raw)
In-Reply-To: <50997.192.168.1.108.1197506381.squirrel@msqr.us>
References: <51046.192.168.1.108.1197434523.squirrel@msqr.us>
<50753.192.168.1.108.1197501684.squirrel@msqr.us>
<Pine.BSO.4.64.0712121855050.17882@leary.csoft.net>
<50997.192.168.1.108.1197506381.squirrel@msqr.us>
On Thu, 13 Dec 2007, Matt Magoffin wrote:
>> Expected? Should?
>
> It was hardly a complaint, just a question about how one is expected to
> handle the xml type via JDBC in the current version of the driver.
That may have came out a little wrong. I just was trying to point out
that expected and should have different meanings depending on what you're
asking. As a user of the JDBC API you should expect the driver to
correctly map the xml type to SQLXML. As a user of the current pg jdbc
driver code you would not expect it to return SQLXML because it hasn't
been implemented, so it's not that you just need to tweak something to get
it to work. Sorry if it came out in a negative way.
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: books@ejurka.com, postgresql.org@msqr.us
Subject: Re: how to set a PreparedStatement column of XML type in 8.3?
In-Reply-To: <Pine.BSO.4.64.0712130051180.2048@leary.csoft.net>
References: <51046.192.168.1.108.1197434523.squirrel@msqr.us> <50753.192.168.1.108.1197501684.squirrel@msqr.us> <Pine.BSO.4.64.0712121855050.17882@leary.csoft.net> <50997.192.168.1.108.1197506381.squirrel@msqr.us> <Pine.BSO.4.64.0712130051180.2048@leary.csoft.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