Re: Need help with JDBC driver. Problem, - getExportedKeys

From: Keve Müller <keve(at)keve(dot)hu>
To: <pgsql-jdbc(at)postgresql(dot)org>
Cc: Justin Clift <justin(at)postgresql(dot)org>, Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>, Roger Bjärevall <roger(at)ideit(dot)com>
Subject: Re: Need help with JDBC driver. Problem, - getExportedKeys
Date: 2001-09-01 13:39:58
Message-ID: Pine.LNX.4.33.0109011531130.5170-100000@miyako.muller.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all.

> He's right. The DatabaseMetaData.getExportedKeys() method is
> simply not yet implemented, both in the jdb1 and the jdbc2
> driver. Its open for development.
>
> If someone can write the query on the system catalogs I'll be
> glad to implement the Java code and a test case. The
> documentation of the info we need is available on
> http://java.sun.com/j2se/1.3/docs/api/java/sql/DatabaseMetaData.html
> (look for getExportedKeys).

An initial version for get(Imported|Exported)Keys and getCrossReference is
available in jxDBCon (http://jxbdcon.sf.net) the file can be extracted
automatically from CVS under
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/jxdbcon/src/org/sourceforge/jxdbcon/postgresql/PGDatabaseMetaData.java?rev=1.21&content-type=text/plain
Feel free to use it for a quick start.

Initial means:
- not tested
- don't like its algorithm
-> needs to be improved
But nevertheless it works.

Regargs,

Keve

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rene Pijlman 2001-09-01 13:48:36 Re: ? (question mark) characters
Previous Message Rene Pijlman 2001-09-01 13:12:27 Re: Need help with JDBC driver. Problem, - getExportedKeys = Driver.notImplemented() exception