Re: JDBC 4 Compliance

From: "REBruchs" <REBruchs(at)cfl(dot)rr(dot)com>
To: "'Kevin Wooten'" <kdubb(at)me(dot)com>, "'dmp'" <danap(at)ttc-cmc(dot)net>
Cc: "'PostgreSQL JDBC'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC 4 Compliance
Date: 2013-06-22 20:50:46
Message-ID: F648BBFB15BE4DC6B1429A916F23DFC1@polaris
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Please see the Oracle JAVA SE API documentation at
http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html

Refer to method getColumns(), column 24 IS_GENERATEDCOLUMN

Thanks for looking into this.

-----Original Message-----
From: Kevin Wooten [mailto:kdubb(at)me(dot)com]
Sent: Saturday, June 22, 2013 2:13 PM
To: dmp
Cc: REBruchs; PostgreSQL JDBC
Subject: Re: [JDBC] JDBC 4 Compliance

This column is defined in JDBC 4.1 which is not supported by the driver.

It is supported in my separate implementation of the driver. pgjdbc-ng
<https://github.com/kdubb/pgjdbc-ng>

On Jun 22, 2013, at 9:49 AM, dmp <danap(at)ttc-cmc(dot)net> wrote:

It does not appear that method in the Java Docs defines such a
column, IS_GENERATEDCOLUMN, to be returned. The code also does
not indicated any such column. IS_AUTOINCREMENT maybe? Can you
please clarify?

danap.

REBruchs wrote:

The 9.2-1002 JDBC 4 driver version does not appear to
provide the
IS_GENERATEDCOLUMN column in the ResultSet returned by

ResultSet DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)



--
Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Wooten 2013-06-22 22:18:40 Re: JDBC 4 Compliance
Previous Message Kevin Wooten 2013-06-22 18:13:12 Re: JDBC 4 Compliance