Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 962712E397D for ; Tue, 18 Dec 2007 12:15:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 08287-05 for ; Tue, 18 Dec 2007 12:15:10 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 12EDC2E36D4 for ; Tue, 18 Dec 2007 12:15:18 -0400 (AST) Received: (qmail 30666 invoked by uid 1112); 18 Dec 2007 16:15:18 -0000 Date: Tue, 18 Dec 2007 11:15:18 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: =?ISO-8859-1?Q?Christian_Schr=F6der?= cc: pgsql-jdbc@postgresql.org Subject: Re: Missing fields in getColumns() result In-Reply-To: <4767A52F.7040402@deriva.de> Message-ID: References: <4767A52F.7040402@deriva.de> MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200712/136 X-Sequence-Number: 17991 On Tue, 18 Dec 2007, Christian Schr=F6der wrote: > I have just found out that the ResultSet that is returned by the=20 > getColumns() method of a DatabaseMetaData object does only contain the=20 > fields from the JDBC 2 (pre JDK 1.4) spec, even if I use the JDBC 3=20 > driver. Is this a known bug? Yes. http://archives.postgresql.org/pgsql-jdbc/2004-12/msg00038.php And the more generic entry here: The JDBC 3 DatabaseMetaData methods sometimes return additional information. Currently we only return JDBC 2 data for these methods. http://jdbc.postgresql.org/todo.html > By the way, how can I search the mailing list archive for the term=20 > "SOURCE_DATA_TYPE"? The underscores seem to be ignored so I get each=20 > posting which contains the three terms "source", "data" and "type" > I'm not sure, but restricting the search to just the jdbc list makes=20 your post come out first. Kris Jurka=