Skip site navigation (1) Skip section navigation (2)

Re: PLJava and Database Meta Data

From: Kris Jurka <books(at)ejurka(dot)com>
To: Thomas Hallgren <thhal(at)mailblocks(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>,Filip Hrbek <filip(dot)hrbek(at)plz(dot)comstar(dot)cz>
Subject: Re: PLJava and Database Meta Data
Date: 2005-02-10 19:06:48
Message-ID: Pine.BSO.4.56.0502101357410.26432@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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

In response to

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2005-02-10 19:13:52
Subject: Re: Crystal Reports / PostgreSQL
Previous:From: Vadim NasardinovDate: 2005-02-10 17:44:09
Subject: Re: Crystal Reports / PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group