Re: BUG #2559: why jdbc-driver AbstractJdbc2ResultSetMetaData.

From: Kris Jurka <books(at)ejurka(dot)com>
To: "flash(dot)xu" <justxu(at)tom(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2559: why jdbc-driver AbstractJdbc2ResultSetMetaData.
Date: 2006-08-04 17:31:00
Message-ID: Pine.BSO.4.63.0608041225410.21278@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, 1 Aug 2006, flash.xu wrote:

> Bug reference: 2559
> PostgreSQL version: 8.1.4
> Description: why jdbc-driver AbstractJdbc2ResultSetMetaData.
> getTableName(int column) return ""
> Details:
>
> I'm using jdbc3 8.1 to build my java project.But when I use
> ResultSetMetaData class to get table'name,the result is ""!
> I check the jdbc8 8.1's source code,and found the
> AbstractJdbc2ResultSetMetaData. getTableName(int column) return "".
> Instead, the method of "getBaseTableName()" return the real table'name.
> Similar,the method of"getColumnName()"return the column'lable,but the method
> of"getColumnName()" return the real column'name.
> please show why?thanks.
> My project has been used Oracle and Mysql.It's my first to use PostgreSQL.
>

Please see the thread "Wrong column names in ResultSetMetaData"

http://archives.postgresql.org/pgsql-jdbc/2004-08/threads.php#00008

Kris Jurka

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Gregory Stark 2006-08-04 23:31:00 Re: [BUGS] Patch to allow C extension modules to initialize/finish
Previous Message Kris Jurka 2006-08-04 17:25:00 Re: The column index is out of range in PostgreSQL + resolve