From: Kris Jurka <books@ejurka.com>
To: Thomas Hallgren <thhal@mailblocks.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Cc: Filip Hrbek <filip.hrbek@plz.comstar.cz>
Subject: Re: PLJava and Database Meta Data
Date: Thu, 10 Feb 2005 14:06:48 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0502101357410.26432@leary.csoft.net> (raw)
In-Reply-To: <thhal-0OSDnAts/xicKOdXFhNL1b7jI6Hr/Fb@mailblocks.com>
References: <420B87A7.6080407@mailblocks.com>
<thhal-0OSDnAts/xicKOdXFhNL1b7jI6Hr/Fb@mailblocks.com>
On Thu, 10 Feb 2005, Thomas Hallgren wrote:
> PLJava has its own JDBC driver that is implemented directly on top of
> JDBC. At present, it lacks support for DatabaseMetaData. One option for
> us might be to borrow a lot of code from your driver, and perhaps apply
> some modifications to it. This raises two questions:
>
> 1. Do you have any objection to us using parts of your code?
Go right ahead. It's BSD licensed for just such a reason.
> 2. If minor refactoring would make it possible for us to share the code
> unmodified, would you see that as something worth pursuing?
>
Certainly something to look into, but I fear there may be too many
differences, especially in how things like encoding and ResultSet creation
are handled. Additionally the driver returns only the JDBC 2 spec fields
even when built and called as a JDBC 3 driver. I've been thinking a
little bit about how to return different fields for different JDBC
versions without duplicating a whole lot of work, so some reorganization
seems to be in order. It would be great to tackle both of these projects
at the same time.
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, thhal@mailblocks.com, filip.hrbek@plz.comstar.cz
Subject: Re: PLJava and Database Meta Data
In-Reply-To: <Pine.BSO.4.56.0502101357410.26432@leary.csoft.net>
References: <420B87A7.6080407@mailblocks.com> <thhal-0OSDnAts/xicKOdXFhNL1b7jI6Hr/Fb@mailblocks.com> <Pine.BSO.4.56.0502101357410.26432@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