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

From: Kris Jurka <books(at)ejurka(dot)com>
To: Matt Magoffin <postgresql(dot)org(at)msqr(dot)us>
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 05:55:27
Message-ID: Pine.BSO.4.64.0712130051180.2048@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ken Johanson 2007-12-13 06:37:50 Re: RETURNING clause: how to specifiy column indexes?
Previous Message Matt Magoffin 2007-12-13 00:39:41 Re: how to set a PreparedStatement column of XML type in 8.3?