Re: Bug and Bugfix for the jdbc-driver

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Tilo Levante <tilo(at)levante(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org, Tilo Levante <tilo(at)levante(dot)de>
Subject: Re: Bug and Bugfix for the jdbc-driver
Date: 2001-02-06 09:28:19
Message-ID: 981451699.3a7fc3b3453b1@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Quoting Tilo Levante <tilo(at)levante(dot)de>:

> In the datamodeller of JBuilder 4, only the systemtables are shown.
> The Problem is in the funtion
>
> getTableTypes() in the file
> src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
>
> This function should return a list of TableTypes. But it resturns a list
> of
> 6 Identical entries
> (SYSTEM INDEX) instead.

This was fixed about 6 months ago. What version of the driver are you using?

[snip]

> The lines
> for(int i=0;i<getTableTypes.length;i++) {
> byte[][] tuple = new byte[1][0];
> are exchanged.

This was the exact fix (actually it also occurs in another method as well).

> This Fix doesn't solve all problems with JBuilder4.

No, althought the current development driver is working with my copy of
JBuilder4.

Peter

--
Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Max Vaschenko 2001-02-06 14:25:19 Re: postmaster grows
Previous Message Piers Scannell 2001-02-06 09:23:57 RE: single a suggestion