From: Dave Cramer <pg@fastcrypt.com>
To: List <pgsql-jdbc@postgresql.org>
Subject: implementing SQLXML
Date: Mon, 7 May 2007 09:26:10 -0400
Message-ID: <C4B43003-DF41-4F92-BE8E-4C38F937A7D0@fastcrypt.com> (raw)
I took a run at implementing SQLXML in jdbc4. I have a question about
the getSource method.
It appears that the interface Source implements only two methods
which by themselves aren't very helpful.
There are currently 4 concrete classes that implement the Source
interface, but they seem quite different. It would appear that the
driver will have to do
public Source getSource(Class source)
{
if instanceof DOMSource return new DOMSource
if instanceof JAXBSource return new JAXBSource
.....
}
Does this make sense ?
Dave
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: pg@fastcrypt.com
Subject: Re: implementing SQLXML
In-Reply-To: <C4B43003-DF41-4F92-BE8E-4C38F937A7D0@fastcrypt.com>
References: <C4B43003-DF41-4F92-BE8E-4C38F937A7D0@fastcrypt.com>
* 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