Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id EA78D2E409E for ; Thu, 13 Dec 2007 01:55:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 40911-01-6 for ; Thu, 13 Dec 2007 01:55:40 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 68C702E4080 for ; Thu, 13 Dec 2007 01:55:32 -0400 (AST) Received: (qmail 7721 invoked by uid 1112); 13 Dec 2007 05:55:27 -0000 Date: Thu, 13 Dec 2007 00:55:27 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Matt Magoffin cc: pgsql-jdbc@postgresql.org Subject: Re: how to set a PreparedStatement column of XML type in 8.3? In-Reply-To: <50997.192.168.1.108.1197506381.squirrel@msqr.us> Message-ID: References: <51046.192.168.1.108.1197434523.squirrel@msqr.us> <50753.192.168.1.108.1197501684.squirrel@msqr.us> <50997.192.168.1.108.1197506381.squirrel@msqr.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/81 X-Sequence-Number: 17936 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